From 47c8f5bee3e133ff91af82ca36fe56646ff06a43 Mon Sep 17 00:00:00 2001 From: Andrei Alexeyev Date: Wed, 21 Aug 2024 23:09:23 +0200 Subject: [PATCH] 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. --- src/renderer/gl33/gl33.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/renderer/gl33/gl33.c b/src/renderer/gl33/gl33.c index ff1d9092..c84a8424 100644 --- a/src/renderer/gl33/gl33.c +++ b/src/renderer/gl33/gl33.c @@ -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) {