Mercurial > mplayer.hg
comparison libvo/gl_common.h @ 16233:f00a2826ee11
use GenBuffers to get a buffer number instead of hardcoding 1.
author | reimar |
---|---|
date | Tue, 16 Aug 2005 17:57:53 +0000 |
parents | ede5b4afd262 |
children | b951a75d4f83 |
comparison
equal
deleted
inserted
replaced
16232:56b82ee3df90 | 16233:f00a2826ee11 |
---|---|
83 #else | 83 #else |
84 int setGlWindow(XVisualInfo **vinfo, GLXContext *context, Window win); | 84 int setGlWindow(XVisualInfo **vinfo, GLXContext *context, Window win); |
85 void releaseGlContext(XVisualInfo **vinfo, GLXContext *context); | 85 void releaseGlContext(XVisualInfo **vinfo, GLXContext *context); |
86 #endif | 86 #endif |
87 | 87 |
88 extern void (APIENTRY *GenBuffers)(GLsizei, GLuint *); | |
89 extern void (APIENTRY *DeleteBuffers)(GLsizei, const GLuint *); | |
88 extern void (APIENTRY *BindBuffer)(GLenum, GLuint); | 90 extern void (APIENTRY *BindBuffer)(GLenum, GLuint); |
89 extern GLvoid* (APIENTRY *MapBuffer)(GLenum, GLenum); | 91 extern GLvoid* (APIENTRY *MapBuffer)(GLenum, GLenum); |
90 extern GLboolean (APIENTRY *UnmapBuffer)(GLenum); | 92 extern GLboolean (APIENTRY *UnmapBuffer)(GLenum); |
91 extern void (APIENTRY *BufferData)(GLenum, intptr_t, const GLvoid *, GLenum); | 93 extern void (APIENTRY *BufferData)(GLenum, intptr_t, const GLvoid *, GLenum); |
92 extern void (APIENTRY *CombinerParameterfv)(GLenum, const GLfloat *); | 94 extern void (APIENTRY *CombinerParameterfv)(GLenum, const GLfloat *); |