1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Fix check for support of fragment depth write.

This commit is contained in:
Francisco Zurita 2017-02-02 01:30:59 -05:00
parent 2075842d31
commit 72da07ac17

View File

@ -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: