[Mesa-dev] [PATCH 10/16] mesa/st: Unconditionally enable ARB_map_buffer_alignment.

Ian Romanick idr at freedesktop.org
Wed Jan 22 20:48:50 PST 2014


From: Siavash Eliasi <siavashserver at gmail.com>

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
---
 src/mesa/state_tracker/st_extensions.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index e7d5d74..c3f67b7 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -740,9 +740,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;
 
-- 
1.8.1.4



More information about the mesa-dev mailing list