[Mesa-dev] [PATCH] mesa: remove duplicated init of MaxViewports

Maxence Le Doré maxence.ledore at gmail.com
Sun Jan 26 02:25:44 PST 2014


From: Maxence Le Doré <Maxence Le Doré>

Already declared 5 lines before.
---
 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 b7cd568..98025bc 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -595,9 +595,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;
-- 
1.8.5.3



More information about the mesa-dev mailing list