summaryrefslogtreecommitdiff
path: root/src/radeon_glamor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_glamor.c')
-rw-r--r--src/radeon_glamor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_glamor.c b/src/radeon_glamor.c
index 3e676f2d..f1098381 100644
--- a/src/radeon_glamor.c
+++ b/src/radeon_glamor.c
@@ -238,7 +238,7 @@ radeon_glamor_create_pixmap(ScreenPtr screen, int w, int h, int depth,
if (info->shadow_primary) {
if (usage != CREATE_PIXMAP_USAGE_BACKING_PIXMAP)
return fbCreatePixmap(screen, w, h, depth, usage);
- } else if (usage != CREATE_PIXMAP_USAGE_BACKING_PIXMAP) {
+ } else {
pixmap = glamor_create_pixmap(screen, w, h, depth, usage);
if (pixmap)
return pixmap;