summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2004-01-08 07:32:06 +0000
committerDaniel Borca <[email protected]>2004-01-08 07:32:06 +0000
commitd994f6dda5fae94c0ad159e2cc36b73145bf4a9f (patch)
tree8ab512e717cefaf128d0ece95b6ae2b52a008d53
parent94de418fd053a2a970d1a1312765f14be7aeb6f6 (diff)
removed unnecessary (now) sanity check
-rw-r--r--src/mesa/tnl/t_save_api.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/tnl/t_save_api.c b/src/mesa/tnl/t_save_api.c
index 76cc12e084f..08a5036c6d1 100644
--- a/src/mesa/tnl/t_save_api.c
+++ b/src/mesa/tnl/t_save_api.c
@@ -440,10 +440,6 @@ static void _save_upgrade_vertex( GLcontext *ctx,
tnl->save.vertex_size += newsz - oldsz;
tnl->save.counter = ((SAVE_BUFFER_SIZE - tnl->save.vertex_store->used) /
tnl->save.vertex_size);
- /* [dBorca] begin shameless plug */
- if (tnl->save.counter > ctx->Const.MaxArrayLockSize )
- tnl->save.counter = ctx->Const.MaxArrayLockSize;
- /* [dBorca] end shameless plug */
tnl->save.initial_counter = tnl->save.counter;