From a0051b9da28fb67cebae1fef322603ddb8f619f8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 19 Dec 2014 01:03:08 +0100 Subject: vo_opengl: add GLES 2 support Rather basic support. Almost nothing works, and even if it does, it's bound to be inefficient (due to texture upload). This was tested with the nVidia desktop binary drivers, which provide GLES 2 support only. However, nVidia is not known to be very strict about OpenGL, and the driver is very new too, so the vo_opengl code will have bugs too. --- video/out/gl_x11egl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/gl_x11egl.c') diff --git a/video/out/gl_x11egl.c b/video/out/gl_x11egl.c index 8f2a5e4ffa..2bd4def4df 100644 --- a/video/out/gl_x11egl.c +++ b/video/out/gl_x11egl.c @@ -68,7 +68,7 @@ static bool create_context_egl(MPGLContext *ctx, EGLConfig config, EGLint context_attributes[] = { EGL_CONTEXT_MAJOR_VERSION_KHR, - es ? 3 : MPGL_VER_GET_MAJOR(ctx->requested_gl_version), + es ? 2 : MPGL_VER_GET_MAJOR(ctx->requested_gl_version), EGL_NONE }; -- cgit v1.2.3