diff options
author | wm4 <wm4@nowhere> | 2016-05-20 23:21:43 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-20 23:21:43 +0200 |
commit | 79afa347cc8eb0a52e3acc11598eb6d497b938d5 (patch) | |
tree | 9565afc271982691b054a609245305af91e10900 /video/out | |
parent | 3deedef195b148e09edf9d4f628b1ca3979e1cc2 (diff) | |
download | mpv-79afa347cc8eb0a52e3acc11598eb6d497b938d5.tar.bz2 mpv-79afa347cc8eb0a52e3acc11598eb6d497b938d5.tar.xz |
vo_opengl: remove non-working rgb/rgba FBO formats
Following commit 84ccebd9, the internal helpers don't allow GL_RGB and
GL_RGBA as internal formats for FBO attachments anymore.
While OpenGL itself is perfectly fine with it, I don't see much of a
reason to bother, and mixing sized and unsized internal formats is
confusing anyway.
Just remove these formats.
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/opengl/video.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 1396571a62..bebe1373d6 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -401,9 +401,7 @@ const struct m_sub_options gl_video_conf = { OPT_FLOATRANGE("sigmoid-center", sigmoid_center, 0, 0.0, 1.0), OPT_FLOATRANGE("sigmoid-slope", sigmoid_slope, 0, 1.0, 20.0), OPT_CHOICE("fbo-format", fbo_format, 0, - ({"rgb", GL_RGB}, - {"rgba", GL_RGBA}, - {"rgb8", GL_RGB8}, + ({"rgb8", GL_RGB8}, {"rgba8", GL_RGBA8}, {"rgb10", GL_RGB10}, {"rgb10_a2", GL_RGB10_A2}, |