summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2012-11-30 20:02:39 +1000
committerDave Airlie <[email protected]>2012-12-01 11:25:15 +1000
commitd128ae347add426e4570c2e18ddee0cb4ed83401 (patch)
tree54bef184ba81141636ffbf1ac1e05a5133f5604c
parente85c9a4d2874a302195c66742b446f0645440c43 (diff)
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 <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
-rw-r--r--src/gallium/drivers/svga/svga_sampler_view.c1
1 files changed, 0 insertions, 1 deletions
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);