[Mesa-dev] [PATCH 2/3] st/vega: Fix broken assert

Chris Forbes chrisf at ijw.co.nz
Sat Nov 16 18:00:18 PST 2013


This would never fire.

Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
---
 src/gallium/state_trackers/vega/paint.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/state_trackers/vega/paint.c b/src/gallium/state_trackers/vega/paint.c
index 79b7a27..fea9fc1 100644
--- a/src/gallium/state_trackers/vega/paint.c
+++ b/src/gallium/state_trackers/vega/paint.c
@@ -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");
    }
 }
 
-- 
1.8.4.2



More information about the mesa-dev mailing list