mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-21 00:45:23 +01:00
Dynamic shadows with the ogles2 driver on OpenGL ES 3.0+ (#16661)
This commit is contained in:
@@ -580,6 +580,8 @@ bool COpenGLExtensionHandler::queryFeature(E_VIDEO_DRIVER_FEATURE feature) const
|
||||
return FeatureAvailable[IRR_NV_depth_clamp] || FeatureAvailable[IRR_ARB_depth_clamp];
|
||||
case EVDF_TEXTURE_MULTISAMPLE:
|
||||
return (Version >= 302) || FeatureAvailable[IRR_ARB_texture_multisample];
|
||||
case EVDF_RENDER_TO_FLOAT_TEXTURE:
|
||||
return Version >= 300;
|
||||
|
||||
default:
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user