DEADSOFTWARE

fix glGetError unstable
authorAlexey <lewa.j20@gmail.com>
Mon, 14 Mar 2016 18:54:21 +0000 (21:54 +0300)
committerAlexey <lewa.j20@gmail.com>
Mon, 14 Mar 2016 18:54:21 +0000 (21:54 +0300)
nanoWrap.cpp

index a30a009de2421771b32292914fa1ae480c96ed7a..b193a7a4fb8fb624505aa64a839f0018b2dacebe 100644 (file)
@@ -1421,7 +1421,7 @@ void glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha)
 GLenum glGetError (void)
     {
     //FlushOnStateChange();
-    return GL_NO_ERROR;//glEsImpl->glGetError();
+    return glEsImpl->glGetError();
     }
 
 void glActiveTexture (GLenum texture)