Merge pull request #39426 from Rubonnek/unmatched-half-float

Fixed mismatched disable half float property string
This commit is contained in:
Rémi Verschelde 2020-06-10 10:34:24 +02:00 committed by GitHub
commit 4f02fd7eca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5973,7 +5973,7 @@ void RasterizerStorageGLES2::initialize() {
#ifdef JAVASCRIPT_ENABLED
config.support_half_float_vertices = false;
#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) {
config.support_half_float_vertices = false;
}