summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-07-02 15:25:19 +1000
committerDave Airlie <airlied@redhat.com>2009-07-02 15:25:19 +1000
commit2b671adba54ebff1756dd990123f4bade6e35d61 (patch)
tree976c6192837a5e26044f834058a18452f8c5a0a6
parent851b2b8cab883e4422745cca1827aa8ac9f193a3 (diff)
radeon/dri2: call proper gem bo function
-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;