mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-01 14:13:52 +08:00
Correct sense of ctx->_ForceEyeCoords (Felix Kuhling)
This commit is contained in:
parent
f903e1142d
commit
eff4abcbd8
@ -1180,7 +1180,7 @@ _mesa_update_tnl_spaces( GLcontext *ctx, GLuint new_state )
|
||||
void
|
||||
_mesa_allow_light_in_model( GLcontext *ctx, GLboolean flag )
|
||||
{
|
||||
ctx->_ForceEyeCoords = flag;
|
||||
ctx->_ForceEyeCoords = !flag;
|
||||
ctx->NewState |= _NEW_POINT; /* one of the bits from
|
||||
* _MESA_NEW_NEED_EYE_COORDS.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user