Mesa (master): mesa: remove duplicated init of MaxViewports
Kenneth Graunke
kwg at kemper.freedesktop.org
Mon Feb 10 00:57:25 UTC 2014
Module: Mesa
Branch: master
Commit: b903be50b0195f3e48c82fcd28f37ece221f2dfb
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b903be50b0195f3e48c82fcd28f37ece221f2dfb
Author: Maxence Le Doré <maxence.ledore at gmail.com>
Date: Sun Jan 26 11:25:44 2014 +0100
mesa: remove duplicated init of MaxViewports
Already declared 5 lines before.
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
---
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 458d8e5..4d9d61e 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;
More information about the mesa-commit
mailing list