diff options
author | wm4 <wm4@nowhere> | 2015-01-26 06:05:36 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-26 06:12:35 +0100 |
commit | 4a06a66501fcbb38a61d501fd1fbbc96177882a4 (patch) | |
tree | a3d0d92d91f5b57a5458ce9d5c46a24b348df3ac | |
parent | f033eaff9b6b03899626078844b56bc5107b4229 (diff) | |
download | mpv-4a06a66501fcbb38a61d501fd1fbbc96177882a4.tar.bz2 mpv-4a06a66501fcbb38a61d501fd1fbbc96177882a4.tar.xz |
vo_opengl: drop sRGB framebuffer detection
We've stopped using them some time ago (we're doing things manually
instead).
-rw-r--r-- | video/out/gl_common.c | 9 | ||||
-rw-r--r-- | video/out/gl_common.h | 1 |
2 files changed, 1 insertions, 9 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c index 70fb42b973..2bb824a9f1 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -92,7 +92,6 @@ static const struct feature features[] = { {MPGL_CAP_FB, "Framebuffers"}, {MPGL_CAP_VAO, "VAOs"}, {MPGL_CAP_SRGB_TEX, "sRGB textures"}, - {MPGL_CAP_SRGB_FB, "sRGB framebuffers"}, {MPGL_CAP_FLOAT_TEX, "Float textures"}, {MPGL_CAP_TEX_RG, "RG textures"}, {MPGL_CAP_1ST_CLASS_ARRAYS, "1st class shader arrays"}, @@ -225,7 +224,7 @@ static const struct gl_functions gl_functions[] = { { .ver_core = 300, .ver_es_core = 300, - .provides = MPGL_CAP_SRGB_TEX | MPGL_CAP_SRGB_FB | MPGL_CAP_3D_TEX | + .provides = MPGL_CAP_SRGB_TEX | MPGL_CAP_3D_TEX | MPGL_CAP_1ST_CLASS_ARRAYS, .functions = (const struct gl_function[]) { DEF_FN(GetStringi), @@ -292,12 +291,6 @@ static const struct gl_functions gl_functions[] = { .extension = "GL_EXT_texture_sRGB", .provides = MPGL_CAP_SRGB_TEX, }, - // sRGB framebuffers, extension in GL 2.x, core in GL 3.x core. - { - .ver_core = 300, - .extension = "GL_EXT_framebuffer_sRGB", - .provides = MPGL_CAP_SRGB_FB, - }, // Float textures, extension in GL 2.x, core in GL 3.x core. { .ver_core = 300, diff --git a/video/out/gl_common.h b/video/out/gl_common.h index dcb6a86ced..ab15eed694 100644 --- a/video/out/gl_common.h +++ b/video/out/gl_common.h @@ -67,7 +67,6 @@ enum { MPGL_CAP_FB = (1 << 5), MPGL_CAP_VAO = (1 << 6), MPGL_CAP_SRGB_TEX = (1 << 7), - MPGL_CAP_SRGB_FB = (1 << 8), MPGL_CAP_FLOAT_TEX = (1 << 9), MPGL_CAP_TEX_RG = (1 << 10), // GL_ARB_texture_rg / GL 3.x MPGL_CAP_VDPAU = (1 << 11), // GL_NV_vdpau_interop |