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:
Chris Wilson 2012-08-27 19:36:03 +01:00
parent 593f549b45
commit 8218e5da2b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}