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:
Andrei Alexeyev 2024-08-21 23:09:23 +02:00
parent 043f09c668
commit 47c8f5bee3
No known key found for this signature in database
GPG key ID: 72D26128040B9690

View file

@ -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) {