mesa: simplify save_Begin() error checking
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:15 +0000 (09:03 -0600)
commitd5bdce1142d23e68404487e107532fd8dd545b1a
tree6a3461233952e4f6260d65c3b2e94f209ce652ee
parentbb459f6295736d55ab5855d7b19e5e49aaf9af41
mesa: simplify save_Begin() error checking

The old code was hard to understand and not entirely correct.
Note that PRIM_INSIDE_UNKNOWN_PRIM is no longer set anywhere so
we'll be able to remove that next.

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