diff options
author | Siavash Eliasi <[email protected]> | 2013-11-28 12:26:35 +0330 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2014-01-29 09:11:39 -0700 |
commit | 6bb27ee51c71bf5392fed797fe34c7a211c2cce3 (patch) | |
tree | ebe5ce55c8c117effa442763dd14e12d5300c171 /src/mesa/state_tracker | |
parent | 25c14f40f375e06bf12693c330c4fe7ef35a085b (diff) |
mesa/st: Unconditionally enable ARB_map_buffer_alignment.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_extensions.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index e778f60fab8..a27f70206a8 100644 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/state_tracker/st_extensions.c @@ -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; |