From: Roland Scheidegger Date: Tue, 22 May 2007 00:52:39 +0000 (+0200) Subject: make sure optimized fog params get updated X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f1879d4e137f9b98d7430976adf9c28c4bf9fcf;p=mesa.git make sure optimized fog params get updated --- diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c index 975a617ac89..d37d7fb9bf4 100644 --- a/src/mesa/shader/prog_statevars.c +++ b/src/mesa/shader/prog_statevars.c @@ -507,6 +507,8 @@ _mesa_program_state_flags(const gl_state_index state[STATE_LENGTH]) switch (state[1]) { case STATE_TEXRECT_SCALE: return _NEW_TEXTURE; + case STATE_FOG_PARAMS_OPTIMIZED: + return _NEW_FOG; default: /* unknown state indexes are silently ignored and * no flag set, since it is handled by the driver.