Fix setup.light_twoside determination.
authorBrian <brian.paul@tungstengraphics.com>
Fri, 13 Jul 2007 20:28:15 +0000 (14:28 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 13 Jul 2007 20:28:15 +0000 (14:28 -0600)
commitf0636d9653d142bdf71475d2d2066f5c7c436978
tree78c0f2dd69c9beb241638bc1fbedfb847a34d519
parenta2e471e05e452454f78db7a5fbc6845f6ca39f35
Fix setup.light_twoside determination.

When a vertex program is used, use value of GL_VERTEX_PROGRAM_TWO_SIDE.
Otherwise, if FF lighting, use value of GL_LIGHT_MODEL_TWO_SIDE.
src/mesa/state_tracker/st_atom_setup.c