mesa: Set gl_constants::MinMapBufferAlignment to 64 by default
authorSiavash Eliasi <siavashserver@gmail.com>
Thu, 28 Nov 2013 08:56:36 +0000 (12:26 +0330)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Jan 2014 16:11:39 +0000 (09:11 -0700)
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/context.c

index b7cd568668585156f8fb07ba204feb609bccb815..b818ab41a6bf9161455b9c01483414429761d5d3 100644 (file)
@@ -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;