Skip to content

Commit

Permalink
Update opengl_vertex_shader.vert
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Oct 17, 2023
1 parent 55dd719 commit 46d1d9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/host_shaders/opengl_vertex_shader.vert
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 46d1d9a

Please sign in to comment.