summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-23 17:55:47 +0200
committerwm4 <wm4@nowhere>2016-05-23 21:27:18 +0200
commit75f373cc46aa0a2c782f10b8d1afea6a20d85693 (patch)
tree251fa46f4b84fbe46a6327fc59f7e3ecb2c9ffc8 /video
parentcc72a4e8c3889edf0c3880f166e3417be604ec19 (diff)
downloadmpv-75f373cc46aa0a2c782f10b8d1afea6a20d85693.tar.bz2
mpv-75f373cc46aa0a2c782f10b8d1afea6a20d85693.tar.xz
vo_opengl: remove unused glDrawBuffer
Diffstat (limited to 'video')
-rw-r--r--video/out/opengl/common.c1
-rw-r--r--video/out/opengl/common.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c
index 16a5018dfd..6287fc488b 100644
--- a/video/out/opengl/common.c
+++ b/video/out/opengl/common.c
@@ -146,7 +146,6 @@ static const struct gl_functions gl_functions[] = {
.ver_core = 210,
.provides = MPGL_CAP_ROW_LENGTH | MPGL_CAP_1D_TEX,
.functions = (const struct gl_function[]) {
- DEF_FN(DrawBuffer),
DEF_FN(GetTexLevelParameteriv),
DEF_FN(MapBuffer),
DEF_FN(ReadBuffer),
diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h
index 4ee61975f4..c55f1654fc 100644
--- a/video/out/opengl/common.h
+++ b/video/out/opengl/common.h
@@ -102,7 +102,6 @@ struct GL {
void (GLAPIENTRY *Enable)(GLenum);
void (GLAPIENTRY *Disable)(GLenum);
const GLubyte *(GLAPIENTRY * GetString)(GLenum);
- void (GLAPIENTRY *DrawBuffer)(GLenum);
void (GLAPIENTRY *BlendFuncSeparate)(GLenum, GLenum, GLenum, GLenum);
void (GLAPIENTRY *Flush)(void);
void (GLAPIENTRY *Finish)(void);