From: Brian Paul Date: Mon, 31 Jan 2000 23:09:51 +0000 (+0000) Subject: added save_TexImage3DEXT() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b1c416e213173bbc8db6ff5daf493f331f9ffbe;p=mesa.git added save_TexImage3DEXT() --- diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index fda8aacc1bc..5e8aef88c22 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -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;