summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2010-12-01 11:39:02 +0800
committerChia-I Wu <olv@lunarg.com>2010-12-01 11:39:33 +0800
commit06e7a5502817d9df7f023083b135c8cd327c3e6c (patch)
tree804fcee4d266abda2f5bb256cd7e16a928636658 /src
parentb06de80843e7d096bed4ae03ddc5e2842f1876af (diff)
st/vega: Fix negated logic in image_draw.
A typo from last commit.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/state_trackers/vega/image.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/vega/image.c b/src/gallium/state_trackers/vega/image.c
index fc87536883..a20b6d582f 100644
--- a/src/gallium/state_trackers/vega/image.c
+++ b/src/gallium/state_trackers/vega/image.c
@@ -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;