diff options
-rw-r--r-- | src/radeon_dri2.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c index c303f7b6..613fde82 100644 --- a/src/radeon_dri2.c +++ b/src/radeon_dri2.c @@ -91,6 +91,10 @@ radeon_dri2_create_buffers(DrawablePtr drawable, } else { /* tile the back buffer */ switch(attachments[i]) { + case DRI2BufferDepth: + case DRI2BufferDepthStencil: + flags = RADEON_CREATE_PIXMAP_TILING_MACRO | RADEON_CREATE_PIXMAP_TILING_MICRO; + break; case DRI2BufferBackLeft: case DRI2BufferBackRight: case DRI2BufferFakeFrontLeft: |