diff --git a/src/modules/graphics/opengl/Graphics.cpp b/src/modules/graphics/opengl/Graphics.cpp --- a/src/modules/graphics/opengl/Graphics.cpp +++ b/src/modules/graphics/opengl/Graphics.cpp @@ -238,7 +238,8 @@ enabledebug = (flags & GL_CONTEXT_FLAG_DEBUG_BIT) != 0; } - setDebug(enabledebug); + if (!GLAD_ES_VERSION_2_0) + setDebug(enabledebug); return true; }