summaryrefslogtreecommitdiff
path: root/src/radeon_dri2.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-08-07 11:56:49 +0200
committerMichel Dänzer <daenzer@vmware.com>2009-08-07 11:56:49 +0200
commit577ff3ce922e457cc32f80d4365cb1da81552e72 (patch)
treea9da374fb991bb23ecb04f0a0c6bd50626411a2c /src/radeon_dri2.c
parente755fa56d03aa338d0c6345ed41e32aa3115ad4b (diff)
Add support for EXA_MIXED_PIXMAPS in xserver master.
Diffstat (limited to 'src/radeon_dri2.c')
-rw-r--r--src/radeon_dri2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index 08da996a..9c862449 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -98,6 +98,7 @@ radeon_dri2_create_buffers(DrawablePtr drawable,
if (attachments[i] == DRI2BufferDepth) {
depth_pixmap = pixmap;
}
+ exaMoveInPixmap(pixmap);
driver_priv = exaGetPixmapDriverPrivate(pixmap);
r = radeon_gem_get_kernel_name(driver_priv->bo, &buffers[i].name);
if (r)
@@ -159,6 +160,7 @@ radeon_dri2_create_buffer(DrawablePtr drawable,
if (attachment == DRI2BufferDepth) {
depth_pixmap = pixmap;
}
+ exaMoveInPixmap(pixmap);
driver_priv = exaGetPixmapDriverPrivate(pixmap);
r = radeon_gem_get_kernel_name(driver_priv->bo, &buffers->name);
if (r)