Commit 7ad79cfd authored by Thomas Guillem's avatar Thomas Guillem

vout/opengl: remove stray OpenGLES 1 support

parent 01ff565c
......@@ -54,7 +54,6 @@ struct vlc_gl_t
enum {
VLC_OPENGL,
VLC_OPENGL_ES,
VLC_OPENGL_ES2,
};
......
......@@ -387,15 +387,6 @@ static int OpenGLES2 (vlc_object_t *obj)
return Open (obj, &api);
}
static int OpenGLES (vlc_object_t *obj)
{
static const struct gl_api api = {
"OpenGL_ES", EGL_OPENGL_ES_API, 0, EGL_OPENGL_ES_BIT,
{ EGL_CONTEXT_CLIENT_VERSION, 1, EGL_NONE },
};
return Open (obj, &api);
}
static int OpenGL (vlc_object_t *obj)
{
static const struct gl_api api = {
......@@ -419,9 +410,4 @@ vlc_module_begin ()
set_callbacks (OpenGLES2, Close)
add_shortcut ("egl")
add_submodule ()
set_capability ("opengl es", 50)
set_callbacks (OpenGLES, Close)
add_shortcut ("egl")
vlc_module_end ()
......@@ -53,9 +53,6 @@ vlc_gl_t *vlc_gl_Create(struct vout_window_t *wnd, unsigned flags,
case VLC_OPENGL:
type = "opengl";
break;
case VLC_OPENGL_ES:
type = "opengl es";
break;
case VLC_OPENGL_ES2:
type = "opengl es2";
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment