Skip to content

Commit

Permalink
Fix not saving shader section properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed Mar 8, 2025
1 parent 7572469 commit 2f2a14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -2681,7 +2681,7 @@ save_gl3_shaders(void)
} else {
for (i = 0; i < shaders; i++) {
temp[0] = 0;
snprintf(temp, 512, "shader%d");
snprintf(temp, 512, "shader%d", i);
ini_section_set_string(cat, temp, gl3_shader_file[i]);
}
}
Expand Down

0 comments on commit 2f2a14e

Please sign in to comment.