svga: use new svga_define_texture_level() helper
authorBrian Paul <brianp@vmware.com>
Mon, 24 Jun 2013 20:59:53 +0000 (14:59 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 25 Jun 2013 23:54:24 +0000 (17:54 -0600)
commit808da7d8ca26f71832dc94bb50180b60a5ee3af2
tree9f9fea4c5eb909c0168070ff8d0dd834bc7b527d
parent2cc27c3faac79988dbf4693a543555cc58b2e4b0
svga: use new svga_define_texture_level() helper

To get array bounds checking.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_resource_texture.c
src/gallium/drivers/svga/svga_resource_texture.h