summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon_dri2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index 0a30f8fc..133859f3 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -156,7 +156,7 @@ radeon_dri2_create_buffer(DrawablePtr drawable,
depth_pixmap = pixmap;
}
driver_priv = exaGetPixmapDriverPrivate(pixmap);
- buffers->name = radeon_bo_name_bo(driver_priv->bo);
+ buffers->name = radeon_gem_name_bo(driver_priv->bo);
buffers->attachment = attachment;
buffers->pitch = pixmap->devKind;
buffers->cpp = pixmap->drawable.bitsPerPixel / 8;