From d128ae347add426e4570c2e18ddee0cb4ed83401 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 30 Nov 2012 20:02:39 +1000 Subject: [PATCH] svga: remove pointless assert on unsigned >= 0 all unsigneds are >= 0 :-) There may be an argument for leaving this in, in case someone changes min_lod to an integer, so feel free to apply or drop. Reviewed-by: Brian Paul Signed-off-by: Dave Airlie --- src/gallium/drivers/svga/svga_sampler_view.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/svga/svga_sampler_view.c b/src/gallium/drivers/svga/svga_sampler_view.c index 281a44f08ae..efbc13899a4 100644 --- a/src/gallium/drivers/svga/svga_sampler_view.c +++ b/src/gallium/drivers/svga/svga_sampler_view.c @@ -65,7 +65,6 @@ svga_get_tex_sampler_view(struct pipe_context *pipe, boolean view = TRUE; assert(pt); - assert(min_lod >= 0); assert(min_lod <= max_lod); assert(max_lod <= pt->last_level); -- 2.30.2