Fix source pictures getting random transforms after 2d6a8f6683.

*xoff and *yoff were uninitialized for source-only pictures.x

Signed-off-by: Pierre-Loup A. Griffais <pgriffais@nvidia.com>
Reviewed-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit a6bd5d2e48)
This commit is contained in:
Pierre-Loup A. Griffais 2010-01-27 14:03:03 -08:00 committed by Aaron Plattner
parent a191318f8d
commit 66b6e2fd49
1 changed files with 1 additions and 0 deletions

View File

@ -453,6 +453,7 @@ image_from_pict_18 (PicturePtr pict, Bool has_clip, int *xoff, int *yoff)
else if (sp->type == SourcePictTypeConical)
image = create_conical_gradient_image (gradient);
}
*xoff = *yoff = 0;
}
if (image)