summaryrefslogtreecommitdiff
path: root/fb
diff options
context:
space:
mode:
authorPierre-Loup A. Griffais <pgriffais@nvidia.com>2010-01-27 14:03:03 -0800
committerKeith Packard <keithp@keithp.com>2010-01-27 14:03:03 -0800
commita6bd5d2e482a5aa84acb3d4932e2a166d8670ef1 (patch)
tree872f8344b996d764358bca3a30bbc30de68ad385 /fb
parentc3395158678aaab9dca5fc6a812cbe715ddc0e1a (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>
Diffstat (limited to 'fb')
-rw-r--r--fb/fbpict.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fb/fbpict.c b/fb/fbpict.c
index 251754b3f..dddfce87f 100644
--- a/fb/fbpict.c
+++ b/fb/fbpict.c
@@ -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)