diff options
author | Pierre-Loup A. Griffais <pgriffais@nvidia.com> | 2010-01-27 14:03:03 -0800 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2010-01-27 14:58:56 -0800 |
commit | 66b6e2fd49fdc650703e56aa176a902e4921251c (patch) | |
tree | c05dd3c0c1836c886f9dce184ec8106c27fa64e3 /fb | |
parent | a191318f8dde2a4ff47c051244e8c88e8f92883a (diff) |
Fix source pictures getting random transforms after 2d6a8f668342a5190cdf43b5.
*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 a6bd5d2e482a5aa84acb3d4932e2a166d8670ef1)
Diffstat (limited to 'fb')
-rw-r--r-- | fb/fbpict.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fb/fbpict.c b/fb/fbpict.c index f9f4343f7..c046baeb4 100644 --- a/fb/fbpict.c +++ b/fb/fbpict.c @@ -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) |