diff options
author | Brian Paul <[email protected]> | 2000-01-31 23:09:51 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-01-31 23:09:51 +0000 |
commit | 2b1c416e213173bbc8db6ff5daf493f331f9ffbe (patch) | |
tree | 790f987124737b5f7e3aae32e55a89004a847395 /src/mesa/main/dlist.c | |
parent | e0a87f9087557b87f9c4abc29d18c5383c10aafd (diff) |
added save_TexImage3DEXT()
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r-- | src/mesa/main/dlist.c | 18 |
1 files changed, 17 insertions, 1 deletions
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; |