Remove MAY_HAVE_GLES3

This commit is contained in:
Sacha committed 2014-06-02 12:08:29 +10:00
1 parent 79880f8567
commit 205423637f
2 files changed
-6

No files matched your search

-3
View File
@@ -26,6 +26,3 @@ typedef char GLchar;
#include "../gfx_es2/gl3stub.h"
#endif
// Now that glew is upgraded beyond 4.3, we can define MAY_HAVE_GLES3 on GL platforms
#define MAY_HAVE_GLES3 1
-3
View File
@@ -151,8 +151,6 @@ void CheckGLExtensions() {
#endif
#if defined(USING_GLES2)
// MAY_HAVE_GLES3 defined on all platforms that support it
#if defined(MAY_HAVE_GLES3)
// Try to load GLES 3.0 only if "3.0" found in version
// This simple heuristic avoids issues on older devices where you can only call eglGetProcAddress a limited
// number of times. Make sure to check for 3.0 in the shader version too to avoid false positives, see #5584.
@@ -166,7 +164,6 @@ void CheckGLExtensions() {
gl_extensions.GLES3 = false;
}
}
#endif
#else
// If the GL version >= 4.3, we know it's a true superset of OpenGL ES 3.0 and can thus enable
// all the same modern paths.