mesa/st: Unconditionally enable ARB_map_buffer_alignment.
authorSiavash Eliasi <siavashserver@gmail.com>
Thu, 28 Nov 2013 08:56:35 +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/state_tracker/st_extensions.c

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