diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 8b0f24a349..a35dc593b6 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -508,6 +508,11 @@ void SceneOpenGL::initDebugOutput() } }; + // Expoxy fails to resolve glDebugMessageCallback on GLES + if (!glDebugMessageCallback) { + return; + } + glDebugMessageCallback(callback, nullptr); // This state exists only in GL_KHR_debug