瀏覽代碼

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

Fixed mismatched disable half float property string
Rémi Verschelde 5 年之前
父節點
當前提交
4f02fd7eca
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
 	}