mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-29 08:00:15 +01:00
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>
This commit is contained in:
parent
c339515867
commit
a6bd5d2e48
1 changed files with 1 additions and 0 deletions
|
|
@ -452,6 +452,7 @@ image_from_pict (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…
Add table
Reference in a new issue