OSDN Git Service

mesa: Add a context flag indicating whether two-sided lighting should happen.
authorEric Anholt <eric@anholt.net>
Thu, 8 Sep 2011 22:14:33 +0000 (15:14 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 21 Sep 2011 16:46:38 +0000 (09:46 -0700)
commitb68e3422ed9a0f16c7015940ffd5ac0361f0ca42
treef9f60db7e3a801b42dfa96f171b62ea258b6a99d
parent169f57255ad9d3cf1b4ea48f54e17e2c9f54cbc3
mesa: Add a context flag indicating whether two-sided lighting should happen.

The 965 driver was ignoring the VERTEX_PROGRAM_TWO_SIDE flag and only
looking at fixed-function state.
src/mesa/main/mtypes.h
src/mesa/main/state.c