diff options
author | Jan Vesely <[email protected]> | 2015-01-14 15:53:18 -0500 |
---|---|---|
committer | José Fonseca <[email protected]> | 2015-01-21 14:05:04 +0000 |
commit | da1f92779d0b65c4a57ea201cca6d370da63a011 (patch) | |
tree | 398faa1ae8fcb6a40d7adf6d06d4a9df9725b545 /src/mesa/program/prog_statevars.c | |
parent | 194f6235b32cd0c54547a3913e463cf691d011d6 (diff) |
mesa: remove comparisons that are always true
Signed-off-by: Jan Vesely <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_statevars.c')
-rw-r--r-- | src/mesa/program/prog_statevars.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mesa/program/prog_statevars.c b/src/mesa/program/prog_statevars.c index be5ddb106b0..7f5daf8c676 100644 --- a/src/mesa/program/prog_statevars.c +++ b/src/mesa/program/prog_statevars.c @@ -295,9 +295,7 @@ _mesa_fetch_state(struct gl_context *ctx, const gl_state_index state[], const gl_state_index modifier = state[4]; const GLfloat *m; GLuint row, i; - ASSERT(firstRow >= 0); ASSERT(firstRow < 4); - ASSERT(lastRow >= 0); ASSERT(lastRow < 4); if (mat == STATE_MODELVIEW_MATRIX) { matrix = ctx->ModelviewMatrixStack.Top; |