summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2014-01-07 19:06:17 -0800
committerIan Romanick <[email protected]>2014-01-20 11:31:59 -0800
commitf6d7cd4a11e70b816733cff681dde7d03588d1c8 (patch)
tree5398605df75ff28ea403d8d462ada9ac2541b583 /src/mesa/main/context.c
parent5232a7ded0c3a302ee0b551436b8f64a298d221c (diff)
mesa: Add an index parameter to _mesa_set_scissor
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 5af0c02cfa9..91fcbd284a6 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1438,7 +1438,7 @@ _mesa_check_init_viewport(struct gl_context *ctx, GLuint width, GLuint height)
*/
ctx->ViewportInitialized = GL_TRUE;
_mesa_set_viewport(ctx, 0, 0, 0, width, height);
- _mesa_set_scissor(ctx, 0, 0, width, height);
+ _mesa_set_scissor(ctx, 0, 0, 0, width, height);
}
}