mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Fix check for support of fragment depth write.
This commit is contained in:
parent
2075842d31
commit
72da07ac17
|
@ -379,6 +379,7 @@ bool ContextImpl::isSupported(graphics::SpecialFeatures _feature) const
|
||||||
case graphics::SpecialFeatures::WeakBlitFramebuffer:
|
case graphics::SpecialFeatures::WeakBlitFramebuffer:
|
||||||
return m_glInfo.isGLESX;
|
return m_glInfo.isGLESX;
|
||||||
case graphics::SpecialFeatures::FragmentDepthWrite:
|
case graphics::SpecialFeatures::FragmentDepthWrite:
|
||||||
|
return !m_glInfo.isGLES2;
|
||||||
case graphics::SpecialFeatures::NearPlaneClipping:
|
case graphics::SpecialFeatures::NearPlaneClipping:
|
||||||
return !m_glInfo.isGLESX;
|
return !m_glInfo.isGLESX;
|
||||||
case graphics::SpecialFeatures::Multisampling:
|
case graphics::SpecialFeatures::Multisampling:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user