Merge pull request #39426 from Rubonnek/unmatched-half-float
Fixed mismatched disable half float property string
This commit is contained in:
commit
4f02fd7eca
|
@ -5973,7 +5973,7 @@ void RasterizerStorageGLES2::initialize() {
|
||||||
#ifdef JAVASCRIPT_ENABLED
|
#ifdef JAVASCRIPT_ENABLED
|
||||||
config.support_half_float_vertices = false;
|
config.support_half_float_vertices = false;
|
||||||
#endif
|
#endif
|
||||||
bool disable_half_float = GLOBAL_GET("rendering/gles2/debug/disable_half_float");
|
bool disable_half_float = GLOBAL_GET("rendering/gles2/compatibility/disable_half_float");
|
||||||
if (disable_half_float) {
|
if (disable_half_float) {
|
||||||
config.support_half_float_vertices = false;
|
config.support_half_float_vertices = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue