Reverse RGBA shadow test on GLES2

This commit is contained in:
Juan Linietsky 2018-12-21 10:02:43 -03:00
parent 7535c5a56a
commit 7b1cbe9874
1 changed files with 1 additions and 1 deletions

View File

@ -4644,7 +4644,7 @@ void RasterizerStorageGLES2::initialize() {
#ifdef GLES_OVER_GL
config.use_rgba_2d_shadows = false;
#else
config.use_rgba_2d_shadows = config.float_texture_supported && config.extensions.has("GL_EXT_texture_rg");
config.use_rgba_2d_shadows = !(config.float_texture_supported && config.extensions.has("GL_EXT_texture_rg"));
#endif
frame.count = 0;
frame.delta = 0;