mirror of
https://github.com/love2d/love-android.git
synced 2026-08-12 16:41:12 +02:00
Disable OpenGL debug on OpenGL ES2 (should fix Ouya compatibility)
This commit is contained in:
@@ -238,7 +238,8 @@ bool Graphics::setMode(int width, int height)
|
||||
enabledebug = (flags & GL_CONTEXT_FLAG_DEBUG_BIT) != 0;
|
||||
}
|
||||
|
||||
setDebug(enabledebug);
|
||||
if (!GLAD_ES_VERSION_2_0)
|
||||
setDebug(enabledebug);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user