From: Brian Date: Fri, 23 Feb 2007 18:43:14 +0000 (-0700) Subject: remove dead code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ef0cc9db547017309988c848376569174cfb90e8;p=mesa.git remove dead code --- diff --git a/src/mesa/shader/prog_statevars.c b/src/mesa/shader/prog_statevars.c index 93d92445230..21d518a8100 100644 --- a/src/mesa/shader/prog_statevars.c +++ b/src/mesa/shader/prog_statevars.c @@ -287,19 +287,11 @@ _mesa_fetch_state(GLcontext *ctx, const gl_state_index state[], /* state[5] = transpose, inverse or invtrans */ const GLmatrix *matrix; -#if 0 - const gl_state_index mat = state[1]; - const GLuint index = (GLuint) state[2]; - const GLuint firstRow = (GLuint) state[3]; - const GLuint lastRow = (GLuint) state[4]; - const gl_state_index modifier = state[5]; -#else const gl_state_index mat = state[0]; const GLuint index = (GLuint) state[1]; const GLuint firstRow = (GLuint) state[2]; const GLuint lastRow = (GLuint) state[3]; const gl_state_index modifier = state[4]; -#endif const GLfloat *m; GLuint row, i; ASSERT(firstRow >= 0);