draw: Change slot from unsigned to int.
unfilled_stage::face_slot is of type int. Fixes "Unsigned compared against 0" defect reported by Coverity. Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
8294d969e1
commit
8e850f2feb
|
@ -67,7 +67,7 @@ inject_front_face_info(struct draw_stage *stage,
|
|||
boolean is_front_face = (
|
||||
(stage->draw->rasterizer->front_ccw && ccw) ||
|
||||
(!stage->draw->rasterizer->front_ccw && !ccw));
|
||||
unsigned slot = unfilled->face_slot;
|
||||
int slot = unfilled->face_slot;
|
||||
unsigned i;
|
||||
|
||||
/* In case the backend doesn't care about it */
|
||||
|
|
Loading…
Reference in New Issue