Skip to content

Commit

Permalink
gl33: don't try to fall back to r_shader_standard() if active shader …
Browse files Browse the repository at this point in the history
…is deleted

This prevents clean shutdown in tests that don't bring up the whole
resource system, and is not really a sane fallback anyway.
  • Loading branch information
Akaricchi committed Aug 30, 2024
1 parent 01f8cf3 commit 3dcb4a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/renderer/gl33/gl33.c
Original file line number Diff line number Diff line change
Expand Up @@ -1113,7 +1113,6 @@ void gl33_shader_deleted(ShaderProgram *prog) {

if(R.progs.pending == prog) {
R.progs.pending = NULL;
r_shader_standard();
}

if(R.progs.gl_prog == prog->gl_handle) {
Expand Down

0 comments on commit 3dcb4a9

Please sign in to comment.