summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-23 11:43:14 -0700
committerBrian <[email protected]>2007-02-23 11:43:14 -0700
commitef0cc9db547017309988c848376569174cfb90e8 (patch)
treea5f8f15ba879c9109708c1b0cb7c87f147ce7fa6 /src/mesa/shader
parentaa9d22a1c0f3256497088985c290d4046e089456 (diff)
remove dead code
Diffstat (limited to 'src/mesa/shader')
-rw-r--r--src/mesa/shader/prog_statevars.c8
1 files changed, 0 insertions, 8 deletions
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);