summaryrefslogtreecommitdiff
path: root/glamor/glamor_compositerects.c
diff options
context:
space:
mode:
Diffstat (limited to 'glamor/glamor_compositerects.c')
-rw-r--r--glamor/glamor_compositerects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_compositerects.c b/glamor/glamor_compositerects.c
index 4459fce07..e188d8a3f 100644
--- a/glamor/glamor_compositerects.c
+++ b/glamor/glamor_compositerects.c
@@ -246,7 +246,7 @@ glamor_composite_rectangles(CARD8 op,
goto done;
}
else {
- if (_X_LIKELY(priv->type != GLAMOR_TEXTURE_LARGE)) {
+ if (_X_LIKELY(glamor_pixmap_priv_is_small(priv))) {
int error;
source = CreateSolidPicture(0, color, &error);