summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/i830_exa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_exa.c b/src/i830_exa.c
index ebc6624c..b8784026 100644
--- a/src/i830_exa.c
+++ b/src/i830_exa.c
@@ -900,7 +900,7 @@ i830_uxa_create_pixmap (ScreenPtr screen, int w, int h, int depth, unsigned usag
*/
size = i830_get_fence_size(i830, stride * h);
- bo = dri_bo_alloc (i830->bufmgr, "pixmap", size, 0);
+ bo = drm_intel_bo_alloc_for_render(i830->bufmgr, "pixmap", size, 0);
if (!bo) {
fbDestroyPixmap (pixmap);
return NullPixmap;