From a0a494e6f2388c90567c437e9c09366ca95eafb0 Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 5 Jun 2006 11:26:33 +0000 Subject: add (currently unused) lookup for glTexImage3D git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18579 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/gl_common.c | 3 +++ libvo/gl_common.h | 2 ++ 2 files changed, 5 insertions(+) (limited to 'libvo') 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 -- cgit v1.2.3