From: Chia-I Wu Date: Wed, 1 Dec 2010 03:39:02 +0000 (+0800) Subject: st/vega: Fix negated logic in image_draw. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=06e7a5502817d9df7f023083b135c8cd327c3e6c;p=mesa.git st/vega: Fix negated logic in image_draw. A typo from last commit. --- diff --git a/src/gallium/state_trackers/vega/image.c b/src/gallium/state_trackers/vega/image.c index fc87536883a..a20b6d582fd 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;