gl33: don't try to fall back to r_shader_standard() if active shader 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.
This commit is contained in:
parent
043f09c668
commit
47c8f5bee3
1 changed files with 0 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue