aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorSamuel Iglesias Gonsálvez <[email protected]>2016-03-01 12:04:52 +0100
committerSamuel Iglesias Gonsálvez <[email protected]>2016-03-02 07:19:01 +0100
commitadd57b3fa8551cca7a1cb94573b4ef1d9a6a52c2 (patch)
treecb0cb50b63573204e59cc5b443400addeffe3488 /src/mesa/main/context.c
parentaa849d97a0df34a1457d7205518bd82365b4eb2d (diff)
main: remove MAX_VIEWPORT_WIDTH and MAX_VIEWPORT_HEIGHT constants
Signed-off-by: Samuel Iglesias Gonsálvez <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index 26eee28db4e..dbba136f526 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -582,8 +582,8 @@ _mesa_init_constants(struct gl_constants *consts, gl_api api)
consts->MaxLights = MAX_LIGHTS;
consts->MaxShininess = 128.0;
consts->MaxSpotExponent = 128.0;
- consts->MaxViewportWidth = MAX_VIEWPORT_WIDTH;
- consts->MaxViewportHeight = MAX_VIEWPORT_HEIGHT;
+ consts->MaxViewportWidth = 16384;
+ consts->MaxViewportHeight = 16384;
consts->MinMapBufferAlignment = 64;
/* Driver must override these values if ARB_viewport_array is supported. */