mesa: fix CurrentSavePrimitive <= GL_POLYGON tests
authorBrian Paul <brianp@vmware.com>
Thu, 2 May 2013 01:15:32 +0000 (19:15 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 2 May 2013 15:03:14 +0000 (09:03 -0600)
commit8be093e2f6301ff9c2728b8a24c83b401e80f070
treee4a6084fcc50c71017e157cada591f7c263b4f4e
parentcce6e30613f8a7c28c83a5e0411689d6184cbf8f
mesa: fix CurrentSavePrimitive <= GL_POLYGON tests

Use the new PRIM_MAX value instead so that new geometry shader primitive
types are accounted for.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/mesa/main/dlist.c
src/mesa/vbo/vbo_save_api.c