Commit de07fd66 authored by Philip Trettner's avatar Philip Trettner

Fixed an infinite loop that could occur with the debug callback in a 4.* debug context

parent 07285b8a
Pipeline #757 passed with stage
...@@ -115,7 +115,7 @@ void APIENTRY ACGL_KHR_default_debug_callback( GLenum _source, GLenum _type, GLu ...@@ -115,7 +115,7 @@ void APIENTRY ACGL_KHR_default_debug_callback( GLenum _source, GLenum _type, GLu
} }
// delete all errors to not create another error log for the same problem: // delete all errors to not create another error log for the same problem:
while ( glGetError() != GL_NO_ERROR ) {} glGetError();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment