added save_TexImage3DEXT()
authorBrian Paul <brian.paul@tungstengraphics.com>
Mon, 31 Jan 2000 23:09:51 +0000 (23:09 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Mon, 31 Jan 2000 23:09:51 +0000 (23:09 +0000)
src/mesa/main/dlist.c

index fda8aacc1bce6420149e18d2eb35d28b1e390c10..5e8aef88c2244d546426397cba7144c06fe20049 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: dlist.c,v 1.25 2000/01/24 16:19:54 brianp Exp $ */
+/* $Id: dlist.c,v 1.26 2000/01/31 23:09:51 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -2893,6 +2893,17 @@ static void save_TexImage3D( GLenum target,
 }
 
 
+static void save_TexImage3DEXT( GLenum target,
+                                GLint level, GLenum components,
+                                GLsizei width, GLsizei height, GLsizei depth,
+                                GLint border, GLenum format, GLenum type,
+                                const GLvoid *pixels )
+{
+   save_TexImage3D(target, level, (GLint) components, width, height,
+                   depth, border, format, type, pixels);
+}
+
+
 static void save_TexSubImage1D( GLenum target, GLint level, GLint xoffset,
                                 GLsizei width, GLenum format, GLenum type,
                                 const GLvoid *pixels )
@@ -4436,6 +4447,11 @@ _mesa_init_dlist_table( struct _glapi_table *table )
    table->ResetMinmax = _mesa_ResetMinmax;
    table->SeparableFilter2D = _mesa_SeparableFilter2D;
 
+   /* 6. GL_EXT_texture3d */
+   table->CopyTexSubImage3DEXT = save_CopyTexSubImage3D;
+   table->TexImage3DEXT = save_TexImage3DEXT;
+   table->TexSubImage3DEXT = save_TexSubImage3D;
+
    /* GL_EXT_paletted_texture */
    table->ColorTableEXT = save_ColorTableEXT;
    table->ColorSubTableEXT = save_ColorSubTableEXT;