From: Siavash Eliasi Date: Thu, 28 Nov 2013 08:56:36 +0000 (+0330) Subject: mesa: Set gl_constants::MinMapBufferAlignment to 64 by default X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=689b20cfe061215cf01705ed17ac50806458404b;p=mesa.git mesa: Set gl_constants::MinMapBufferAlignment to 64 by default Reviewed-by: Ian Romanick --- 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;