mesa: Refactor _mesa_valid_prim_mode to use a switch-statement
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 25 Jul 2012 14:12:33 +0000 (07:12 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Wed, 29 Aug 2012 22:09:34 +0000 (15:09 -0700)
commit72e076cb17e47c608fa6534641653cdc6133fb27
tree3bdab0f4e1ac63b6f8b2e5afeab8ff62580981c9
parent01497a356048ce23e089ad8ab8ab0102aae97b3c
mesa: Refactor _mesa_valid_prim_mode to use a switch-statement

This makes the next change a bit easier.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/main/api_validate.c