sna: Fix crash with broken DBG missing one of its arguments
Reported-by: Clemens Eisserer <linuxhippy@gmail.com> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54127 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
593f549b45
commit
8218e5da2b
|
|
@ -11638,7 +11638,7 @@ sna_poly_fill_rect(DrawablePtr draw, GCPtr gc, int n, xRectangle *rect)
|
|||
/* If the source is already on the GPU, keep the operation on the GPU */
|
||||
if (gc->fillStyle == FillTiled) {
|
||||
if (!gc->tileIsPixel && sna_pixmap_is_gpu(gc->tile.pixmap)) {
|
||||
DBG(("%s: source is already on the gpu\n"));
|
||||
DBG(("%s: source is already on the gpu\n", __FUNCTION__));
|
||||
hint |= PREFER_GPU | FORCE_GPU;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue