diff options
-rw-r--r-- | libvo/gl_common.c | 3 | ||||
-rw-r--r-- | libvo/gl_common.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c index 08e74a7412..29da053578 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -54,6 +54,8 @@ void (APIENTRY *ProgramString)(GLenum, GLenum, GLsizei, const GLvoid *); 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 @@ static const extfunc_desc_t extfuncs[] = { {(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} }; diff --git a/libvo/gl_common.h b/libvo/gl_common.h index 7f7c1c8db6..cf08f988ad 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -290,5 +290,7 @@ extern void (APIENTRY *ProgramString)(GLenum, GLenum, GLsizei, const GLvoid *); 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 |