st/mesa: fix polygon offset state translation logic
authorBrian Paul <brianp@vmware.com>
Thu, 21 Feb 2013 15:16:16 +0000 (08:16 -0700)
committerBrian Paul <brianp@vmware.com>
Fri, 22 Feb 2013 23:49:05 +0000 (16:49 -0700)
commita2c105e31e47779ce1ddd80c62fc436292e40436
tree3e6464b8261a1d7e3f90129e82817464833e460e
parent8bb291b0f59e8e13bc252cb35672eb468e53881a
st/mesa: fix polygon offset state translation logic

The old logic was kind of twisted, but seemed to work in practice.

Note: This is a candidate for the stable branches.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_atom_rasterizer.c