mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Fix GLES check
This commit is contained in:
1 parent
ec173559f8
commit
d6b953bddd
1 file changed
+2
-3
@@ -569,9 +569,8 @@ OpenGLContext::OpenGLContext() {
|
||||
caps_.fragmentShaderDepthWriteSupported = true;
|
||||
}
|
||||
|
||||
#ifndef USING_GLES2
|
||||
caps_.logicOpSupported = true;
|
||||
#endif
|
||||
// GLES has no support for logic framebuffer operations. There doesn't even seem to exist any such extensions.
|
||||
caps_.logicOpSupported = !gl_extensions.IsGLES;
|
||||
|
||||
// Interesting potential hack for emulating GL_DEPTH_CLAMP (use a separate varying, force depth in fragment shader):
|
||||
// This will induce a performance penalty on many architectures though so a blanket enable of this
|
||||
|
||||
Reference in new issue
Block a user