mesa: Set gl_constants::MinMapBufferAlignment to 64 by default
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
6bb27ee51c
commit
689b20cfe0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue