From: Roland Scheidegger Date: Wed, 22 Nov 2006 17:54:31 +0000 (+0000) Subject: remove unneded call to _tnl_invalidate_state() in _tnl_need_projected_coords(). Conne... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f9afedeb5d65b2bb85c13aa3896b8b49bb49f5f;p=mesa.git 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. --- diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c index 55b40c0531f..154780cc975 100644 --- a/src/mesa/tnl/t_context.c +++ b/src/mesa/tnl/t_context.c @@ -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