summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-25 12:00:57 +0100
committerwm4 <wm4@nowhere>2015-03-25 12:00:57 +0100
commitcdf9abd872f1923ef5a185d06b412f342935f107 (patch)
treea1da3521b7c3e176bb9cb06840ab8f8ed1c694a5
parente07d1b397c9784e8b11a2055a4c54e84bd92468c (diff)
downloadmpv-cdf9abd872f1923ef5a185d06b412f342935f107.tar.bz2
mpv-cdf9abd872f1923ef5a185d06b412f342935f107.tar.xz
vo_opengl: drop support for old framebuffer extension
Drop support for GL_EXT_framebuffer_object. It has 2 problems: semantics might be slightly different from the "proper" GL_ARB_framebuffer_object extension (but is likely completely untested), and also our extension loader is too dumb to load the same group of function pointers represented by different extensions only once.
-rw-r--r--video/out/gl_common.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c
index 58be88a46d..638d757eea 100644
--- a/video/out/gl_common.c
+++ b/video/out/gl_common.c
@@ -215,21 +215,6 @@ static const struct gl_functions gl_functions[] = {
{0}
},
},
- // Framebuffers, alternative extension name.
- {
- .ver_removed = 300, // don't touch these fn names in 3.x
- .ver_es_removed = 300,
- .extension = "GL_EXT_framebuffer_object",
- .provides = MPGL_CAP_FB,
- .functions = (const struct gl_function[]) {
- DEF_FN_NAMES(BindFramebuffer, "glBindFramebufferEXT"),
- DEF_FN_NAMES(GenFramebuffers, "glGenFramebuffersEXT"),
- DEF_FN_NAMES(DeleteFramebuffers, "glDeleteFramebuffersEXT"),
- DEF_FN_NAMES(CheckFramebufferStatus, "glCheckFramebufferStatusEXT"),
- DEF_FN_NAMES(FramebufferTexture2D, "glFramebufferTexture2DEXT"),
- {0}
- },
- },
// VAOs, extension in GL 2.x, core in GL 3.x core.
{
.ver_core = 300,