From 16837e4219e03df36c34f08cee1967b946c44536 Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Mon, 30 Apr 2001 09:04:00 +0000 Subject: Restore optimization for cva glArrayElement operation. --- src/mesa/swrast_setup/ss_vbtmp.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mesa/swrast_setup') diff --git a/src/mesa/swrast_setup/ss_vbtmp.h b/src/mesa/swrast_setup/ss_vbtmp.h index 7e924b5a7e..9ef51a3c20 100644 --- a/src/mesa/swrast_setup/ss_vbtmp.h +++ b/src/mesa/swrast_setup/ss_vbtmp.h @@ -1,4 +1,4 @@ -/* $Id: ss_vbtmp.h,v 1.14 2001/04/28 08:39:18 keithw Exp $ */ +/* $Id: ss_vbtmp.h,v 1.15 2001/04/30 09:04:00 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -51,10 +51,10 @@ static void TAG(rs)(GLcontext *ctx, GLuint start, GLuint end, GLuint newinputs ) const GLfloat tz = m[14]; GLuint maxtex = 0; - if (!newinputs) { - fprintf(stderr, "no new inputs\n"); + /* Only the most basic optimization for cva: + */ + if (!newinputs) return; - } /* TODO: Get import_client_data to pad vectors out to 4 cleanly. * -- cgit v1.2.3