mesa: remove duplicated init of MaxViewports
authorMaxence Le Doré <maxence.ledore@gmail.com>
Sun, 26 Jan 2014 10:25:44 +0000 (11:25 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 10 Feb 2014 00:45:23 +0000 (16:45 -0800)
Already declared 5 lines before.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/context.c

index 458d8e5..4d9d61e 100644 (file)
@@ -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;