From 689b20cfe061215cf01705ed17ac50806458404b Mon Sep 17 00:00:00 2001 From: Siavash Eliasi Date: Thu, 28 Nov 2013 12:26:36 +0330 Subject: [PATCH] mesa: Set gl_constants::MinMapBufferAlignment to 64 by default Reviewed-by: Ian Romanick --- src/mesa/main/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2