Browse Source

Fix change to singed shader conditional flags

This change was missing from commit d3d8ccea60fb846a87d221bea659b09c0f46afe1.
Pedro J. Estébanez 3 years ago
parent
commit
0868122aad
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/gles3/shader_gles3.cpp

+ 1 - 1
drivers/gles3/shader_gles3.cpp

@@ -194,7 +194,7 @@ bool ShaderGLES3::_bind_ubershader() {
 	// which are more compatible across GL driver vendors.
 	CRASH_COND(new_conditional_version.version >= 0x80000000);
 #endif
-	glUniform1ui(conditionals_uniform, new_conditional_version.version);
+	glUniform1i(conditionals_uniform, new_conditional_version.version);
 	return bound;
 }