draw: fix some unsigned vs ushort confusion
authorKeith Whitwell <keith@tungstengraphics.com>
Sun, 23 Mar 2008 18:21:00 +0000 (18:21 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Sun, 23 Mar 2008 18:21:00 +0000 (18:21 +0000)
commit301b187ca9a811b608894d20bab934af0a10b8ab
treea2721ffcfcfcd79e2e69515c369b252b16d9ae15
parentf40357e25c0520ef1d64ffab03501da4c8b93529
draw:  fix some unsigned vs ushort confusion

Middle-end elements are ushort, but prior to that have to treat all
elements as unsigned to avoid wrapping and/or overruns.
src/gallium/auxiliary/draw/draw_pt.h
src/gallium/auxiliary/draw/draw_pt_elts.c
src/gallium/auxiliary/draw/draw_pt_vcache.c