From: Maxence Le Doré Date: Sun, 26 Jan 2014 10:25:44 +0000 (+0100) Subject: mesa: remove duplicated init of MaxViewports X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b903be50b0195f3e48c82fcd28f37ece221f2dfb;p=mesa.git mesa: remove duplicated init of MaxViewports Already declared 5 lines before. Reviewed-by: Ian Romanick Reviewed-by: Kenneth Graunke --- 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;