Explorar o código

Fixed mismatched disable half float property string

Wilson E. Alvarez %!s(int64=5) %!d(string=hai) anos
pai
achega
782173f0dc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/gles2/rasterizer_storage_gles2.cpp

+ 1 - 1
drivers/gles2/rasterizer_storage_gles2.cpp

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