changeset 18578:eef0850d4a4b

add (currently unused) lookup for glTexImage3D
author reimar
date Mon, 05 Jun 2006 11:26:33 +0000
parents ebf4f7aa000f
children fc3f25278021
files libvo/gl_common.c libvo/gl_common.h
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/gl_common.c	Mon Jun 05 11:23:51 2006 +0000
+++ b/libvo/gl_common.c	Mon Jun 05 11:26:33 2006 +0000
@@ -54,6 +54,8 @@
 void (APIENTRY *ProgramEnvParameter4f)(GLenum, GLuint, GLfloat, GLfloat,
                                        GLfloat, GLfloat);
 int (APIENTRY *SwapInterval)(int);
+void (APIENTRY *TexImage3D)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei,
+                            GLint, GLenum, GLenum, const GLvoid *);
 /** \} */ // end of glextfunctions group
 
 //! \defgroup glgeneral OpenGL general helper functions
@@ -278,6 +280,7 @@
   {(void **)&ProgramString, "_program", {"glProgramString", "glProgramStringARB", "glProgramStringNV", NULL}},
   {(void **)&ProgramEnvParameter4f, "_program", {"glProgramEnvParameter4f", "glProgramEnvParameter4fARB", "glProgramEnvParameter4fNV", NULL}},
   {(void **)&SwapInterval, "_swap_control", {"glXSwapInterval", "glXSwapIntervalEXT", "glXSwapIntervalSGI", "wglSwapInterval", "wglSwapIntervalEXT", "wglSwapIntervalSGI", NULL}},
+  {(void **)&TexImage3D, NULL, {"glTexImage3D", NULL}},
   {NULL}
 };
 
--- a/libvo/gl_common.h	Mon Jun 05 11:23:51 2006 +0000
+++ b/libvo/gl_common.h	Mon Jun 05 11:26:33 2006 +0000
@@ -290,5 +290,7 @@
 extern void (APIENTRY *ProgramEnvParameter4f)(GLenum, GLuint, GLfloat, GLfloat,
                                               GLfloat, GLfloat);
 extern int (APIENTRY *SwapInterval)(int);
+extern void (APIENTRY *TexImage3D)(GLenum, GLint, GLenum, GLsizei, GLsizei,
+                             GLsizei, GLint, GLenum, GLenum, const GLvoid *);
 
 #endif