From 72da07ac17066b3196e2e33a68a77e46162c656b Mon Sep 17 00:00:00 2001 From: Francisco Zurita Date: Thu, 2 Feb 2017 01:30:59 -0500 Subject: [PATCH] Fix check for support of fragment depth write. --- src/Graphics/OpenGLContext/opengl_ContextImpl.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Graphics/OpenGLContext/opengl_ContextImpl.cpp b/src/Graphics/OpenGLContext/opengl_ContextImpl.cpp index fb95fe48..3225b961 100644 --- a/src/Graphics/OpenGLContext/opengl_ContextImpl.cpp +++ b/src/Graphics/OpenGLContext/opengl_ContextImpl.cpp @@ -379,6 +379,7 @@ bool ContextImpl::isSupported(graphics::SpecialFeatures _feature) const case graphics::SpecialFeatures::WeakBlitFramebuffer: return m_glInfo.isGLESX; case graphics::SpecialFeatures::FragmentDepthWrite: + return !m_glInfo.isGLES2; case graphics::SpecialFeatures::NearPlaneClipping: return !m_glInfo.isGLESX; case graphics::SpecialFeatures::Multisampling: