st/vega: Fix broken assert
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 17 Nov 2013 01:57:51 +0000 (14:57 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sun, 17 Nov 2013 05:56:55 +0000 (18:56 +1300)
This would never fire.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/gallium/state_trackers/vega/paint.c

index 79b7a277851e7e10622cd6cb1f1bef315dc27480..fea9fc18e66266aa7c21eabddfb0c81090891eea 100644 (file)
@@ -516,7 +516,7 @@ void paint_set_pattern_tiling(struct vg_paint *paint,
       paint->pattern.sampler.wrap_t = PIPE_TEX_WRAP_MIRROR_REPEAT;
       break;
    default:
-      debug_assert("!Unknown tiling mode");
+      debug_assert(!"Unknown tiling mode");
    }
 }