remove unneded call to _tnl_invalidate_state() in _tnl_need_projected_coords(). Connected to bug #9103, though that bug got fixed without this change too.

This commit is contained in:
Roland Scheidegger 2006-11-22 17:54:31 +00:00
parent 9540c9c04f
commit 7f9afedeb5

View file

@ -246,10 +246,7 @@ void
_tnl_need_projected_coords( GLcontext *ctx, GLboolean mode )
{
TNLcontext *tnl = TNL_CONTEXT(ctx);
if (tnl->NeedNdcCoords != mode) {
tnl->NeedNdcCoords = mode;
_tnl_InvalidateState( ctx, _NEW_PROJECTION );
}
tnl->NeedNdcCoords = mode;
}
void