summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2011-06-17 04:02:16 -0400
committerAlex Deucher <alexdeucher@gmail.com>2011-06-17 04:02:16 -0400
commit122b471f734aa07427b01d4bec35ff1ac28290b5 (patch)
tree1e060a0a9eacada7df661549c21f9c5fabb85c87 /src
parent122bedcbcf45cb583cf51b2fd04ed2805e0ca60b (diff)
dri2: fix copy pasto in a6154c00c64932332e8f6e334661ffd579cfd894
Reported-by: Nils Wallménius <nils.wallmenius@gmail.com> Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/radeon_dri2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_dri2.c b/src/radeon_dri2.c
index 512c4476..1133319d 100644
--- a/src/radeon_dri2.c
+++ b/src/radeon_dri2.c
@@ -151,7 +151,7 @@ radeon_dri2_create_buffers(DrawablePtr drawable,
if (flags & RADEON_CREATE_PIXMAP_TILING_MICRO)
tiling |= RADEON_TILING_MICRO;
- if (flags & RADEON_CREATE_PIXMAP_TILING_MICRO)
+ if (flags & RADEON_CREATE_PIXMAP_TILING_MACRO)
tiling |= RADEON_TILING_MACRO;
if (need_enlarge) {
@@ -303,7 +303,7 @@ radeon_dri2_create_buffer(DrawablePtr drawable,
if (flags & RADEON_CREATE_PIXMAP_TILING_MICRO)
tiling |= RADEON_TILING_MICRO;
- if (flags & RADEON_CREATE_PIXMAP_TILING_MICRO)
+ if (flags & RADEON_CREATE_PIXMAP_TILING_MACRO)
tiling |= RADEON_TILING_MACRO;
if (need_enlarge) {