1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00

vo_opengl: add detection for the ES texture_rg extension

This commit is contained in:
wm4 2016-05-12 20:42:12 +02:00
parent 84ccebd9b9
commit bd41a3ab62

View File

@ -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",