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:
parent
a191318f8d
commit
66b6e2fd49
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue