diff options
author | Keith Whitwell <[email protected]> | 2001-04-30 09:04:00 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-04-30 09:04:00 +0000 |
commit | 16837e4219e03df36c34f08cee1967b946c44536 (patch) | |
tree | 928670184b9c26dac47a87158e4a2ffc65457532 /src/mesa/swrast_setup | |
parent | ac4a41d198111fb1b0f564cbd2b82217dd6fc265 (diff) |
Restore optimization for cva glArrayElement operation.
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r-- | src/mesa/swrast_setup/ss_vbtmp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/swrast_setup/ss_vbtmp.h b/src/mesa/swrast_setup/ss_vbtmp.h index 7e924b5a7e1..9ef51a3c205 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. * |