Fix shader crash

This commit is contained in:
Agent X 2026-05-06 22:36:31 -04:00
parent 840db50ed0
commit 50d14eaa21

View file

@ -268,8 +268,8 @@ static struct ShaderProgram *gfx_opengl_create_and_load_new_shader(struct ColorC
bool opt_dither = cc->cm.use_dither;
#endif
char vs_buf[1024];
char fs_buf[4096];
char vs_buf[8192];
char fs_buf[8192];
size_t vs_len = 0;
size_t fs_len = 0;
size_t num_floats = 4;