MCPcopy Create free account
hub / github.com/bulletphysics/bullet3 / checkError

Function checkError

examples/OpenGLWindow/GLInstancingRenderer.cpp:185–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

183//static GLfloat depthLightModelviewMatrix[16];
184
185static void checkError(const char* functionName)
186{
187 GLenum error;
188 while ((error = glGetError()) != GL_NO_ERROR)
189 {
190 fprintf(stderr, "GL error 0x%X detected in %s\n", error, functionName);
191 }
192}
193
194extern int gShapeIndex;
195

Callers 2

InitShadersMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected