From b903be50b0195f3e48c82fcd28f37ece221f2dfb Mon Sep 17 00:00:00 2001 From: Maxence Le Doré Date: Sun, 26 Jan 2014 11:25:44 +0100 Subject: mesa: remove duplicated init of MaxViewports Already declared 5 lines before. Reviewed-by: Ian Romanick Reviewed-by: Kenneth Graunke --- src/mesa/main/context.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mesa') 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; -- cgit v1.2.3