projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d34d5fd
)
mesa: remove duplicated init of MaxViewports
author
Maxence Le Doré
<maxence.ledore@gmail.com>
Sun, 26 Jan 2014 10:25:44 +0000
(11:25 +0100)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 10 Feb 2014 00:45:23 +0000
(16:45 -0800)
Already declared 5 lines before.
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 458d8e59b1788c30811ad35980dc12cd4a2b31d0..4d9d61e7b8da312459c62043b969ee545b329bc2 100644
(file)
--- 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;