diff options
author | Ian Romanick <[email protected]> | 2014-01-07 16:57:11 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-01-20 11:31:58 -0800 |
commit | 3eb135d1c72487619ec4ba2338a90b73c7bcda0d (patch) | |
tree | b291987ae62dccdd8694456741fd0e2e017583ad /src/mesa/main/context.c | |
parent | cbb271a48845c2d236f31327df316d42888a1907 (diff) |
mesa: Add an index parameter to _mesa_set_viewport
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 5c67159e5a9..5af0c02cfa9 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1437,7 +1437,7 @@ _mesa_check_init_viewport(struct gl_context *ctx, GLuint width, GLuint height) * potential infinite recursion. */ ctx->ViewportInitialized = GL_TRUE; - _mesa_set_viewport(ctx, 0, 0, width, height); + _mesa_set_viewport(ctx, 0, 0, 0, width, height); _mesa_set_scissor(ctx, 0, 0, width, height); } } |