summaryrefslogtreecommitdiff
path: root/src/sna/gen3_render.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/gen3_render.c')
-rw-r--r--src/sna/gen3_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/gen3_render.c b/src/sna/gen3_render.c
index 3cbf3ffa..68dcc72e 100644
--- a/src/sna/gen3_render.c
+++ b/src/sna/gen3_render.c
@@ -3480,7 +3480,7 @@ reuse_source(struct sna *sna,
mc->filter = gen3_filter(mask->filter);
mc->pict_format = mask->format;
gen3_composite_channel_set_format(mc, mask->format);
- assert(mask->card_format);
+ assert(mc->card_format);
if (mc->bo)
kgem_bo_reference(mc->bo);
return true;