summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-03-03 14:44:13 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-03-03 14:44:13 +0000
commit4dec895b69c2e545b142a3646646e13f7fb06507 (patch)
tree000ead3cfa391800ae1f22f5793df07174f640ad
parent862601c05e9788d1416173b730a5d4b6acabf374 (diff)
sna/gen3: Correct typo in assertion
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-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;