1
0
mirror of https://github.com/mpv-player/mpv synced 2025-04-23 23:56:20 +00:00

vo_opengl: framebuffers work under GLES 2

They are not entirely full-featured in GLES 2, but they appear to
provide all we need. Thus we can enable them.
This commit is contained in:
wm4 2015-07-27 23:27:49 +02:00
parent 2cfd87ab15
commit f15e652dd4

View File

@ -191,7 +191,7 @@ static const struct gl_functions gl_functions[] = {
// Framebuffers, extension in GL 2.x, core in GL 3.x core. // Framebuffers, extension in GL 2.x, core in GL 3.x core.
{ {
.ver_core = 300, .ver_core = 300,
.ver_es_core = 300, .ver_es_core = 200,
.extension = "GL_ARB_framebuffer_object", .extension = "GL_ARB_framebuffer_object",
.provides = MPGL_CAP_FB, .provides = MPGL_CAP_FB,
.functions = (const struct gl_function[]) { .functions = (const struct gl_function[]) {