remove unneded call to _tnl_invalidate_state() in _tnl_need_projected_coords(). Conne...
authorRoland Scheidegger <rscheidegger@gmx.ch>
Wed, 22 Nov 2006 17:54:31 +0000 (17:54 +0000)
committerRoland Scheidegger <rscheidegger@gmx.ch>
Wed, 22 Nov 2006 17:54:31 +0000 (17:54 +0000)
src/mesa/tnl/t_context.c

index 55b40c0..154780c 100644 (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