Fixed mismatched disable half float property string

This commit is contained in:
Wilson E. Alvarez 2020-06-09 23:02:28 -04:00
parent 9901eac9f5
commit 782173f0dc
No known key found for this signature in database
GPG key ID: A32174A3D2ED3F9E

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;
}