From 79afa347cc8eb0a52e3acc11598eb6d497b938d5 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 20 May 2016 23:21:43 +0200 Subject: 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. --- video/out/opengl/video.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'video') 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}, -- cgit v1.2.3