1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-01 16:38:31 +00:00

Merge pull request #62251 from RandomShaper/fix_ubershader_signedness_3.5

This commit is contained in:
Rémi Verschelde
2022-06-20 18:06:31 +02:00
committed by GitHub

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