From bd41a3ab62eac1ed826a7075aa8bb21486d9dcd2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 12 May 2016 20:42:12 +0200 Subject: vo_opengl: add detection for the ES texture_rg extension --- video/out/opengl/common.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/video/out/opengl/common.c b/video/out/opengl/common.c index c181a8ed13..7df667f08c 100644 --- a/video/out/opengl/common.c +++ b/video/out/opengl/common.c @@ -228,6 +228,12 @@ static const struct gl_functions gl_functions[] = { .extension = "GL_ARB_texture_rg", .provides = MPGL_CAP_TEX_RG, }, + { + .ver_core = 300, + .ver_es_core = 300, + .extension = "GL_EXT_texture_rg", + .provides = MPGL_CAP_TEX_RG, + }, // GL_R16 etc. { .extension = "GL_EXT_texture_norm16", -- cgit v1.2.3