commit | 8cfdd24fec22080b72266d33f61befc4a98b77c6 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Wed Oct 14 15:43:53 2009 -0700 |
committer | Jason Sams <rjsams@android.com> | Thu Oct 15 16:06:42 2009 -0700 |
tree | fcb1f40f3f3236d3c00feb44a6185c081e1fabfa | |
parent | 6d751ef1b4611c6b5fc2085fa5ef9ae2f4e60c5a [diff] [blame] |
Minor bug fixes and add glError check.
diff --git a/rsContext.cpp b/rsContext.cpp index 33ed0ca..5127717 100644 --- a/rsContext.cpp +++ b/rsContext.cpp
@@ -145,6 +145,12 @@ } mStateFragmentStore.mLast.clear(); bool ret = runScript(mRootScript.get(), 0); + + GLenum err = glGetError(); + if (err != GL_NO_ERROR) { + LOGE("Pending GL Error, 0x%x", err); + } + return ret; }