From b903be50b0195f3e48c82fcd28f37ece221f2dfb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Maxence=20Le=20Dor=C3=A9?= Date: Sun, 26 Jan 2014 11:25:44 +0100 Subject: [PATCH] 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(-) 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; -- 2.30.2