summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-05 11:26:33 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-06-05 11:26:33 +0000
commita0a494e6f2388c90567c437e9c09366ca95eafb0 (patch)
tree5d2fdf897d94079738b00c5623728cb5203f3dfd /libvo
parent6f748d9621cc51c676253dcb55c5c1ef753ff28a (diff)
downloadmpv-a0a494e6f2388c90567c437e9c09366ca95eafb0.tar.bz2
mpv-a0a494e6f2388c90567c437e9c09366ca95eafb0.tar.xz
add (currently unused) lookup for glTexImage3D
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18579 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/gl_common.c3
-rw-r--r--libvo/gl_common.h2
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