diff --git a/demos/combustion_demo/src/combustion_demo.cpp b/demos/combustion_demo/src/combustion_demo.cpp index a5d626b30f27672e3f8e77306cacf8ef234ce2d8..d03724ce14436a63e17a2f43c9f6c1717248da63 100644 --- a/demos/combustion_demo/src/combustion_demo.cpp +++ b/demos/combustion_demo/src/combustion_demo.cpp @@ -48,15 +48,6 @@ #pragma clang diagnostic ignored "-Wmissing-prototypes" #endif -void MessageCallback(GLenum, GLenum type, GLuint, GLenum severity, GLsizei, - const GLchar* message, const void*) { - if (type == 0x8251) return; // Do not print buffer info - fprintf(stderr, - "GL CALLBACK: %s type = 0x%x, severity = 0x%x, message = %s\n", - (type == GL_DEBUG_TYPE_ERROR ? "** GL ERROR **" : ""), type, severity, - message); -} - int main(int, char**) { std::unique_ptr<phx::Engine> engine = phx::Setup::CreateDefaultEngine(true); auto scene = engine->GetScene(); @@ -65,8 +56,6 @@ int main(int, char**) { auto openvr_system = engine->GetSystem<phx::DisplaySystemOpenVR>(); auto device_system = engine->GetSystem<phx::DeviceSystem>(); - glEnable(GL_DEBUG_OUTPUT); - glDebugMessageCallback((GLDEBUGPROC)MessageCallback, 0); phx::SplashScreen* splash = engine->CreateSystem<phx::SplashScreen>( engine->GetSystem<phx::DisplaySystemWindow>()->GetWindow());