Update opengl_vertex_shader.vert

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

View file

@ -27,7 +27,7 @@ uniform uint u_textureEnvColor[6];
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 abgr8888ToVec4(uint abgr) {
const float scale = 1.0 / 255.0;