fix: GLint uniform location instead of GLuint

This commit is contained in:
2026-05-16 18:40:52 +02:00
parent c45b5ef405
commit 6ff0246f42
2 changed files with 31 additions and 31 deletions
+21 -21
View File
@@ -100,34 +100,34 @@ typedef struct ShaderProgram {
GLuint frame_buffers[ARRAY_SIZE];
GLuint fragment_shaders[ARRAY_SIZE];
GLuint itime_locations[ARRAY_SIZE];
GLuint itempo_locations[ARRAY_SIZE];
GLuint ibeats_locations[ARRAY_SIZE];
GLuint ifps_locations[ARRAY_SIZE];
GLuint ires_locations[ARRAY_SIZE];
GLuint itexres_locations[ARRAY_SIZE];
GLuint iinres_locations[ARRAY_SIZE];
GLuint iinfmt_locations[ARRAY_SIZE];
GLuint iinfps_locations[ARRAY_SIZE];
GLuint idemo_locations[ARRAY_SIZE];
GLuint iautorand_locations[ARRAY_SIZE];
GLuint iautorandcycle_locations[ARRAY_SIZE];
GLuint iseed_locations[ARRAY_SIZE];
GLuint istate_locations[ARRAY_SIZE];
GLuint ipage_locations[ARRAY_SIZE];
GLuint iselected_locations[ARRAY_SIZE];
GLuint iactive_locations[ARRAY_SIZE];
GLint itime_locations[ARRAY_SIZE];
GLint itempo_locations[ARRAY_SIZE];
GLint ibeats_locations[ARRAY_SIZE];
GLint ifps_locations[ARRAY_SIZE];
GLint ires_locations[ARRAY_SIZE];
GLint itexres_locations[ARRAY_SIZE];
GLint iinres_locations[ARRAY_SIZE];
GLint iinfmt_locations[ARRAY_SIZE];
GLint iinfps_locations[ARRAY_SIZE];
GLint idemo_locations[ARRAY_SIZE];
GLint iautorand_locations[ARRAY_SIZE];
GLint iautorandcycle_locations[ARRAY_SIZE];
GLint iseed_locations[ARRAY_SIZE];
GLint istate_locations[ARRAY_SIZE];
GLint ipage_locations[ARRAY_SIZE];
GLint iselected_locations[ARRAY_SIZE];
GLint iactive_locations[ARRAY_SIZE];
UintArray midi_lengths;
GLuint igroup_locations[ARRAY_SIZE];
GLint igroup_locations[ARRAY_SIZE];
GLuint vpos_locations[ARRAY_SIZE];
GLint vpos_locations[ARRAY_SIZE];
GLuint textures_locations[ARRAY_SIZE];
GLint textures_locations[ARRAY_SIZE];
unsigned int sub_type_count;
unsigned int sub_variant_count;
GLuint sub_locations[ARRAY_SIZE];
GLint sub_locations[ARRAY_SIZE];
unsigned int active_count;