Update opengl_fragment_shader.frag

This commit is contained in:
wheremyfoodat 2023-10-17 21:17:51 +03:00 committed by GitHub
parent 63272abfbe
commit 55dd719688
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ uniform sampler1DArray u_tex_lighting_lut;
uniform uint u_picaRegs[0x200 - 0x48];
// Helper so that the implementation of u_pica_regs can be changed later
uint readPicaReg(uint reg_addr) { return u_picaRegs[reg_addr - 0x48]; }
uint readPicaReg(uint reg_addr) { return u_picaRegs[reg_addr - 0x48u]; }
vec4 tevSources[16];
vec4 tevNextPreviousBuffer;
@ -414,4 +414,4 @@ void main() {
break;
}
}
}
}