diff options
author | Keith Whitwell <[email protected]> | 2001-05-10 15:42:42 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2001-05-10 15:42:42 +0000 |
commit | 8b6a91a93f1b3f79796f398884aaca77a8a09198 (patch) | |
tree | 3323c86826125422774042db5a174e403ea8e5e1 /src/mesa/main | |
parent | e296d7f0e455ebb1776d01196020a3b4ce2507fb (diff) |
Set 'prefer_float_colors' true, now that tnl uses them natively.
Apply Jeff Epler's optimization to ci spans as well, remove old code.
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/api_loopback.c | 4 | ||||
-rw-r--r-- | src/mesa/main/dlist.c | 4 | ||||
-rw-r--r-- | src/mesa/main/state.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/main/api_loopback.c b/src/mesa/main/api_loopback.c index 9c33cce6900..3dabcc44234 100644 --- a/src/mesa/main/api_loopback.c +++ b/src/mesa/main/api_loopback.c @@ -1,4 +1,4 @@ -/* $Id: api_loopback.c,v 1.7 2001/03/12 00:48:37 gareth Exp $ */ +/* $Id: api_loopback.c,v 1.8 2001/05/10 15:42:42 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -1444,7 +1444,7 @@ _mesa_loopback_prefer_float( struct _glapi_table *dest, } } -/* Passing prefer_f_colors as true will mean that all colors +/* Passing prefer_float_colors as true will mean that all colors * *except* Color{34}ub{v} are passed as floats. Setting it false will * mean all colors *except* Color{34}f{v} are passed as ubytes. * diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 9a703e097b9..e171b6c84e1 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -1,4 +1,4 @@ -/* $Id: dlist.c,v 1.69 2001/05/09 12:48:21 keithw Exp $ */ +/* $Id: dlist.c,v 1.70 2001/05/10 15:42:42 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -5533,7 +5533,7 @@ _mesa_init_dlist_table( struct _glapi_table *table, GLuint tableSize ) { _mesa_init_no_op_table(table, tableSize); - _mesa_loopback_init_api_table( table, GL_FALSE ); + _mesa_loopback_init_api_table( table, GL_TRUE ); /* GL 1.0 */ table->Accum = save_Accum; diff --git a/src/mesa/main/state.c b/src/mesa/main/state.c index 5586f7e4bd9..e699ac07528 100644 --- a/src/mesa/main/state.c +++ b/src/mesa/main/state.c @@ -1,4 +1,4 @@ -/* $Id: state.c,v 1.64 2001/03/29 21:16:25 keithw Exp $ */ +/* $Id: state.c,v 1.65 2001/05/10 15:42:43 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -123,7 +123,7 @@ _mesa_init_exec_table(struct _glapi_table *exec, GLuint tableSize) /* first initialize all dispatch slots to no-op */ _mesa_init_no_op_table(exec, tableSize); - _mesa_loopback_init_api_table( exec, GL_FALSE ); + _mesa_loopback_init_api_table( exec, GL_TRUE ); /* load the dispatch slots we understand */ exec->Accum = _mesa_Accum; |