aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSiavash Eliasi <[email protected]>2013-11-28 12:26:36 +0330
committerIan Romanick <[email protected]>2014-01-29 09:11:39 -0700
commit689b20cfe061215cf01705ed17ac50806458404b (patch)
tree18bdc97097f33cc01908e8be99445bbe55626eb6 /src
parent6bb27ee51c71bf5392fed797fe34c7a211c2cce3 (diff)
mesa: Set gl_constants::MinMapBufferAlignment to 64 by default
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index b7cd5686685..b818ab41a6b 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -587,7 +587,7 @@ _mesa_init_constants(struct gl_context *ctx)
ctx->Const.MaxSpotExponent = 128.0;
ctx->Const.MaxViewportWidth = MAX_VIEWPORT_WIDTH;
ctx->Const.MaxViewportHeight = MAX_VIEWPORT_HEIGHT;
- ctx->Const.MinMapBufferAlignment = 1;
+ ctx->Const.MinMapBufferAlignment = 64;
/* Driver must override these values if ARB_viewport_array is supported. */
ctx->Const.MaxViewports = 1;