1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-25 15:37:42 +00:00

Fix change to singed shader conditional flags

This change was missing from commit d3d8ccea60.
This commit is contained in:
Pedro J. Estébanez
2022-06-20 17:02:40 +02:00
parent 6eba5370d3
commit 0868122aad

View File

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