mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
Remove MAY_HAVE_GLES3
This commit is contained in:
1 parent
79880f8567
commit
205423637f
2 files changed
-6
No files matched your search
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user