summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dlist.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-10-27 18:31:21 +0000
committerBrian Paul <[email protected]>2000-10-27 18:31:21 +0000
commita14cbff8e5b30539d8fdc3497a0e128992efa6c9 (patch)
treeebe73985a8b4fa388b66dd4297f46f38a8e18b37 /src/mesa/main/dlist.c
parentfe5d67d95f3a5fc84c5421d409a6464642aaf2cb (diff)
Enabled GL_EXT_secondary_color. Fixed a bunch of typos in the dlist.c
and state.c file for plugging those functions into the dispatch table. Don't use Mesa 3.5 for DRI until SGI approves the new dispatch offsets. Commented-out references to ctx->FogMode and VB->Specular in FX driver. Minor clean-up in extensions.c Removed unused prototype in fog.h
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r--src/mesa/main/dlist.c39
1 files changed, 18 insertions, 21 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c
index f37b804ce41..cb682c6ffc4 100644
--- a/src/mesa/main/dlist.c
+++ b/src/mesa/main/dlist.c
@@ -1,4 +1,4 @@
-/* $Id: dlist.c,v 1.47 2000/10/27 16:44:40 keithw Exp $ */
+/* $Id: dlist.c,v 1.48 2000/10/27 18:31:21 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -5230,26 +5230,23 @@ _mesa_init_dlist_table( struct _glapi_table *table, GLuint tableSize )
table->Scaled = save_Scaled;
table->Scalef = save_Scalef;
table->Scissor = save_Scissor;
-
-#if 0
- table->SecondaryColor3fEXT = _mesa_SecondaryColor3bEXT;
- table->SecondaryColor3fvEXT = _mesa_SecondaryColor3bvEXT;
- table->SecondaryColor3dEXT = _mesa_SecondaryColor3sEXT;
- table->SecondaryColordvEXT = _mesa_SecondaryColor3svEXT;
- table->SecondaryColor3fEXT = _mesa_SecondaryColor3iEXT;
- table->SecondaryColor3fvEXT = _mesa_SecondaryColor3ivEXT;
- table->SecondaryColor3dEXT = _mesa_SecondaryColor3fEXT;
- table->SecondaryColordvEXT = _mesa_SecondaryColor3fvEXT;
- table->SecondaryColor3fEXT = _mesa_SecondaryColor3dEXT;
- table->SecondaryColor3fvEXT = _mesa_SecondaryColor3dvEXT;
- table->SecondaryColor3dEXT = _mesa_SecondaryColor3ubEXT;
- table->SecondaryColordvEXT = _mesa_SecondaryColor3ubvEXT;
- table->SecondaryColor3fEXT = _mesa_SecondaryColor3usEXT;
- table->SecondaryColor3fvEXT = _mesa_SecondaryColor3usvEXT;
- table->SecondaryColor3dEXT = _mesa_SecondaryColor3uiEXT;
- table->SecondaryColordvEXT = _mesa_SecondaryColor3uivEXT;
-#endif
-
+ table->SecondaryColor3bEXT = _mesa_SecondaryColor3bEXT;
+ table->SecondaryColor3bvEXT = _mesa_SecondaryColor3bvEXT;
+ table->SecondaryColor3sEXT = _mesa_SecondaryColor3sEXT;
+ table->SecondaryColor3svEXT = _mesa_SecondaryColor3svEXT;
+ table->SecondaryColor3iEXT = _mesa_SecondaryColor3iEXT;
+ table->SecondaryColor3ivEXT = _mesa_SecondaryColor3ivEXT;
+ table->SecondaryColor3fEXT = _mesa_SecondaryColor3fEXT;
+ table->SecondaryColor3fvEXT = _mesa_SecondaryColor3fvEXT;
+ table->SecondaryColor3dEXT = _mesa_SecondaryColor3dEXT;
+ table->SecondaryColor3dvEXT = _mesa_SecondaryColor3dvEXT;
+ table->SecondaryColor3ubEXT = _mesa_SecondaryColor3ubEXT;
+ table->SecondaryColor3ubvEXT = _mesa_SecondaryColor3ubvEXT;
+ table->SecondaryColor3usEXT = _mesa_SecondaryColor3usEXT;
+ table->SecondaryColor3usvEXT = _mesa_SecondaryColor3usvEXT;
+ table->SecondaryColor3uiEXT = _mesa_SecondaryColor3uiEXT;
+ table->SecondaryColor3uivEXT = _mesa_SecondaryColor3uivEXT;
+ table->SecondaryColorPointerEXT = _mesa_SecondaryColorPointerEXT;
table->SelectBuffer = _mesa_SelectBuffer;
table->ShadeModel = save_ShadeModel;
table->StencilFunc = save_StencilFunc;