svga: fix prim type check/assignment in translate_indices()
authorBrian Paul <brianp@vmware.com>
Fri, 2 Sep 2016 20:06:00 +0000 (14:06 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 17 Sep 2016 16:09:00 +0000 (10:09 -0600)
commit12689efbbee1f7e4816b1f49030991bc61be7bb4
tree12e4b497e05496450fec2d16202961fbd2c3c116
parent50359ddb5d051b2b48d8da2403d4d99d135cbf25
svga: fix prim type check/assignment in translate_indices()

Left over test code spotted by Sinclair.

Tested with piglit, Google Earth, Lightsmark, Heaven4, glretraces, etc.

Reviewed-by: Sinclair Yeh <syeh@vmware.com>
src/gallium/drivers/svga/svga_draw_elements.c