removed unnecessary (now) sanity check
authorDaniel Borca <dborca@users.sourceforge.net>
Thu, 8 Jan 2004 07:32:06 +0000 (07:32 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Thu, 8 Jan 2004 07:32:06 +0000 (07:32 +0000)
src/mesa/tnl/t_save_api.c

index 76cc12e084f8f626609aa72b4baf887218ea6bfe..08a5036c6d1b7d9e40709589c55ec2328263841c 100644 (file)
@@ -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;