diff --git a/Source/Core/VideoBackends/OGL/OGLGfx.cpp b/Source/Core/VideoBackends/OGL/OGLGfx.cpp index 880b213fb8..a89f05626b 100644 --- a/Source/Core/VideoBackends/OGL/OGLGfx.cpp +++ b/Source/Core/VideoBackends/OGL/OGLGfx.cpp @@ -134,7 +134,7 @@ OGLGfx::OGLGfx(std::unique_ptr main_gl_context, float backbuffer_scal m_current_framebuffer = m_system_framebuffer.get(); } - if (m_main_gl_context->IsGLES()) + if (!m_main_gl_context->IsGLES()) { // OpenGL 3 doesn't provide GLES like float functions for depth. // They are in core in OpenGL 4.1, so almost every driver should support them.