Return unless glDebugMessageCallback resolves on GLES
REVIEW: 124135
This commit is contained in:
parent
67734050e6
commit
c22fdcf146
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue