Skip to content

Commit

Permalink
Change rotation type to int to maximize compatibility and to match gl…
Browse files Browse the repository at this point in the history
…Uniform1i
  • Loading branch information
fishcu committed Nov 10, 2023
1 parent f20c849 commit 03e188e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gfx/drivers_shader/shader_glsl.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ struct shader_uniforms

int frame_count;
int frame_direction;
unsigned rotation;
// Use signed int for maximal compatibility
int rotation;

int lut_texture[GFX_MAX_TEXTURES];
unsigned frame_count_mod;
Expand Down

0 comments on commit 03e188e

Please sign in to comment.