| 549 | } |
| 550 | |
| 551 | void GLAPIENTRY TestbedApplication::onOpenGLError(GLenum source, GLenum type, GLuint /*id*/, GLenum severity, GLsizei /*length*/, |
| 552 | const GLchar* message, const void* /*userParam*/ ) { |
| 553 | |
| 554 | #ifdef GL_DEBUG_OUTPUT |
| 555 | if (type == GL_DEBUG_TYPE_ERROR) { |
| 556 | fprintf( stderr, "GL CALLBACK: %s source = 0x%x, type = 0x%x, severity = 0x%x, message = %s\n", |
| 557 | ("** GL ERROR **" ), |
| 558 | source, type, severity, message ); |
| 559 | } |
| 560 | #endif |
| 561 | |
| 562 | } |
| 563 | |
| 564 | // Compute the FPS |
| 565 | void TestbedApplication::computeFPS() { |
nothing calls this directly
no outgoing calls
no test coverage detected