mesa: Set gl_constants::MinMapBufferAlignment to 64 by default

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
Siavash Eliasi 2013-11-28 12:26:36 +03:30 committed by Ian Romanick
parent 6bb27ee51c
commit 689b20cfe0
1 changed files with 1 additions and 1 deletions

View 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;