summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMaxence Le DorĂ© <[email protected]>2014-01-26 11:25:44 +0100
committerKenneth Graunke <[email protected]>2014-02-09 16:45:23 -0800
commitb903be50b0195f3e48c82fcd28f37ece221f2dfb (patch)
tree8cdc0e0e3f9533bf055845c5a85105bf919f5f52 /src
parentd34d5fddf85b79f8eacd93c4f87bd7125e852f0a (diff)
mesa: remove duplicated init of MaxViewports
Already declared 5 lines before. Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/context.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 458d8e59b17..4d9d61e7b8d 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -603,9 +603,6 @@ _mesa_init_constants(struct gl_context *ctx)
ctx->Const.ViewportBounds.Min = 0;
ctx->Const.ViewportBounds.Max = 0;
- /* Driver must override if it supports ARB_viewport_array */
- ctx->Const.MaxViewports = 1;
-
/** GL_ARB_uniform_buffer_object */
ctx->Const.MaxCombinedUniformBlocks = 36;
ctx->Const.MaxUniformBufferBindings = 36;