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 <brianp@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user