summaryrefslogtreecommitdiff
path: root/src/renderergl2/tr_glsl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/renderergl2/tr_glsl.c')
-rw-r--r--src/renderergl2/tr_glsl.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/renderergl2/tr_glsl.c b/src/renderergl2/tr_glsl.c
index 7b9b180c..93b78a1a 100644
--- a/src/renderergl2/tr_glsl.c
+++ b/src/renderergl2/tr_glsl.c
@@ -1408,10 +1408,18 @@ void GLSL_ShutdownGPUShaders(void)
GLSL_DeleteGPUShader(&tr.shadowmapShader);
GLSL_DeleteGPUShader(&tr.pshadowShader);
GLSL_DeleteGPUShader(&tr.down4xShader);
-
+ GLSL_DeleteGPUShader(&tr.bokehShader);
+ GLSL_DeleteGPUShader(&tr.tonemapShader);
+
for ( i = 0; i < 2; i++)
GLSL_DeleteGPUShader(&tr.calclevels4xShader[i]);
+ GLSL_DeleteGPUShader(&tr.shadowmaskShader);
+ GLSL_DeleteGPUShader(&tr.ssaoShader);
+
+ for ( i = 0; i < 2; i++)
+ GLSL_DeleteGPUShader(&tr.depthBlurShader[i]);
+
glState.currentProgram = 0;
qglUseProgramObjectARB(0);
}