summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_buffer_objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_buffer_objects.c b/src/mesa/drivers/dri/radeon/radeon_buffer_objects.c
index 40a16c3984c..ba7ab372790 100644
--- a/src/mesa/drivers/dri/radeon/radeon_buffer_objects.c
+++ b/src/mesa/drivers/dri/radeon/radeon_buffer_objects.c
@@ -103,7 +103,7 @@ radeonBufferData(struct gl_context * ctx,
radeon_obj->bo = radeon_bo_open(radeon->radeonScreen->bom,
0,
size,
- 32,
+ ctx->Const.MinMapBufferAlignment,
RADEON_GEM_DOMAIN_GTT,
0);