st/vega: Fix negated logic in image_draw.
authorChia-I Wu <olv@lunarg.com>
Wed, 1 Dec 2010 03:39:02 +0000 (11:39 +0800)
committerChia-I Wu <olv@lunarg.com>
Wed, 1 Dec 2010 03:39:33 +0000 (11:39 +0800)
A typo from last commit.

src/gallium/state_trackers/vega/image.c

index fc87536883aa7adc02f87bca5a11a357e52de0cf..a20b6d582fdb87c258d52ff74af059046ea80683 100644 (file)
@@ -529,10 +529,10 @@ void image_draw(struct vg_image *img, struct matrix *matrix)
    VGfloat x3, y3;
    VGfloat x4, y4;
 
-   if (vg_get_paint_matrix(ctx,
-                           &ctx->state.vg.fill_paint_to_user_matrix,
-                           matrix,
-                           &paint_matrix))
+   if (!vg_get_paint_matrix(ctx,
+                            &ctx->state.vg.fill_paint_to_user_matrix,
+                            matrix,
+                            &paint_matrix))
       return;
 
    x1 = 0;