mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-18 03:31:31 +12:00
[GPU] Fix incorrect &-operator with unsigned and signed operand in the GLSL code
This commit is contained in:
parent
6b610a82d6
commit
7128ae5565
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ const char* fragmentShader = R"(
|
||||||
}
|
}
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
vec2 tex2UV = (u_textureConfig & (1 << 13)) != 0u ? v_texcoord1 : v_texcoord2;
|
vec2 tex2UV = (u_textureConfig & (1u << 13)) != 0u ? v_texcoord1 : v_texcoord2;
|
||||||
|
|
||||||
// TODO: what do invalid sources and disabled textures read as?
|
// TODO: what do invalid sources and disabled textures read as?
|
||||||
// And what does the "previous combiner" source read initially?
|
// And what does the "previous combiner" source read initially?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue