summaryrefslogtreecommitdiff
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorRoland Scheidegger <rscheidegger@gmx.ch>2006-11-22 17:54:31 +0000
committerRoland Scheidegger <rscheidegger@gmx.ch>2006-11-22 17:54:31 +0000
commit7f9afedeb5d65b2bb85c13aa3896b8b49bb49f5f (patch)
treed042bc72d934d1e6d2d0d8af8237876860dfabdf /src/mesa/tnl
parent9540c9c04fa0b691202f419520d9c4d8d495588d (diff)
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.
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r--src/mesa/tnl/t_context.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mesa/tnl/t_context.c b/src/mesa/tnl/t_context.c
index 55b40c0531..154780cc97 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