diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-16 07:19:03 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2014-07-16 07:19:03 +0100 |
commit | 34ada63118680bf8ad2ef737fd4a8edfd8246e37 (patch) | |
tree | a6dea74238aecfff674595b0f404389cb6614ad9 /src/sna/gen6_render.c | |
parent | 4422b1854209a2cdf023c1fbc60834fde2fbc0c7 (diff) |
sna/gen2+: Remove assertion on draw->type for fills
I overlooked the tiling-fill path passing down a temporary DrawableRec
into the fill_boxes callback - invalidating the assertion.
Fixes regression from
commit 43176b9bfafe389c4b9ed676f4e50e3b06f858c4
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date: Mon Jun 30 21:01:11 2014 +0100
sna/dri2: Pass around the correct DrawableRec for sampling from the foriegn bo
Reported-by: Jiri Slaby <jirislaby@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70461#c62
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/sna/gen6_render.c')
-rw-r--r-- | src/sna/gen6_render.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sna/gen6_render.c b/src/sna/gen6_render.c index ab6e296c..4ee786bd 100644 --- a/src/sna/gen6_render.c +++ b/src/sna/gen6_render.c @@ -3097,7 +3097,6 @@ gen6_render_fill_boxes(struct sna *sna, __FUNCTION__, pixel, n, box[0].x1, box[0].y1, box[0].x2, box[0].y2)); - assert(dst->type == DRAWABLE_PIXMAP); tmp.dst.pixmap = (PixmapPtr)dst; tmp.dst.width = dst->width; tmp.dst.height = dst->height; |