[PATCH] Fix source pictures getting random transforms after 2d6a8f668342a5190cdf43b5.

Pierre-Loup A. Griffais pgriffais at nvidia.com
Tue Jan 19 12:58:41 PST 2010


Signed-off-by: Pierre-Loup A. Griffais <pgriffais at nvidia.com>
Reviewed-by: Aaron Plattner <aplattner at nvidia.com>
---
 fb/fbpict.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fb/fbpict.c b/fb/fbpict.c
index f9f4343..c046bae 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)
-- 
1.6.3.3



More information about the xorg-devel mailing list