summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-16 17:57:53 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-16 17:57:53 +0000
commit44ec3f7566a1dcfc7cb392226c30d05bb0793204 (patch)
treea0f7c71e0a5f1fe4b555aa7777c6f42326bcb21e /libvo/gl_common.h
parent1d720784bd086d77059ad207066e6d312444688d (diff)
downloadmpv-44ec3f7566a1dcfc7cb392226c30d05bb0793204.tar.bz2
mpv-44ec3f7566a1dcfc7cb392226c30d05bb0793204.tar.xz
use GenBuffers to get a buffer number instead of hardcoding 1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16234 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r--libvo/gl_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h
index b2368f56d1..e4b8a7606c 100644
--- a/libvo/gl_common.h
+++ b/libvo/gl_common.h
@@ -85,6 +85,8 @@ int setGlWindow(XVisualInfo **vinfo, GLXContext *context, Window win);
void releaseGlContext(XVisualInfo **vinfo, GLXContext *context);
#endif
+extern void (APIENTRY *GenBuffers)(GLsizei, GLuint *);
+extern void (APIENTRY *DeleteBuffers)(GLsizei, const GLuint *);
extern void (APIENTRY *BindBuffer)(GLenum, GLuint);
extern GLvoid* (APIENTRY *MapBuffer)(GLenum, GLenum);
extern GLboolean (APIENTRY *UnmapBuffer)(GLenum);