You've already forked godot
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user