From 6d51fec51731c925f1820762b58103b0331e83b4 Mon Sep 17 00:00:00 2001 From: Mircea Kitsune Date: Tue, 1 Mar 2011 17:32:06 +0200 Subject: [PATCH] Fix effects not coming back on if toggling them off and back on while they should be active. --- qcsrc/client/View.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/client/View.qc b/qcsrc/client/View.qc index 1bafa462b..e94e94958 100644 --- a/qcsrc/client/View.qc +++ b/qcsrc/client/View.qc @@ -843,6 +843,8 @@ void CSQC_UpdateView(float w, float h) { cvar_set("r_glsl_postprocess_uservec1", "0 0 0 0"); cvar_set("r_glsl_postprocess_uservec1_enable", "0"); + old_blurradius = 0; + old_bluralpha = 0; } float sharpen_intensity; @@ -866,6 +868,7 @@ void CSQC_UpdateView(float w, float h) { cvar_set("r_glsl_postprocess_uservec2", "0 0 0 0"); cvar_set("r_glsl_postprocess_uservec2_enable", "0"); + old_sharpen_intensity = 0; } } -- 2.39.2