Commit 6bb27ee5 authored by Siavash Eliasi's avatar Siavash Eliasi Committed by Ian Romanick

mesa/st: Unconditionally enable ARB_map_buffer_alignment.

Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
parent 25c14f40
......@@ -741,9 +741,9 @@ void st_init_extensions(struct st_context *st)
ctx->Const.MinMapBufferAlignment =
screen->get_param(screen, PIPE_CAP_MIN_MAP_BUFFER_ALIGNMENT);
if (ctx->Const.MinMapBufferAlignment >= 64) {
ctx->Extensions.ARB_map_buffer_alignment = GL_TRUE;
}
ctx->Extensions.ARB_map_buffer_alignment = GL_TRUE;
if (screen->get_param(screen, PIPE_CAP_TEXTURE_BUFFER_OBJECTS)) {
ctx->Extensions.ARB_texture_buffer_object = GL_TRUE;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment