diff options
author | Roland Scheidegger <[email protected]> | 2006-11-22 17:54:31 +0000 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2006-11-22 17:54:31 +0000 |
commit | 7f9afedeb5d65b2bb85c13aa3896b8b49bb49f5f (patch) | |
tree | d042bc72d934d1e6d2d0d8af8237876860dfabdf /src/mesa/tnl/t_context.c | |
parent | 9540c9c04fa0b691202f419520d9c4d8d495588d (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/t_context.c')
-rw-r--r-- | src/mesa/tnl/t_context.c | 5 |
1 files changed, 1 insertions, 4 deletions
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 |