From b90b823790657707b5bf7249095833bef959b0e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 27 Aug 2009 09:52:11 +0200 Subject: DRI2: Set tiling for depth/stencil buffers with all DRI2 interface versions. --- src/radeon_dri2.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/radeon_dri2.c') 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: -- cgit v1.2.3