From 703e02a6ee527c248476c05393f063d43cbfae0c Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 30 Sep 2012 12:12:01 +0200 Subject: vo_opengl: change default FBO format GL_RGB16 doesn't seem to work universally (e.g. Intel). Use GL_RGB by default, and use GL_RGB16 for "opengl-hq" only. This may require users of Intel GPUs to manually experiment with the fbo-format suboption when using "opengl-hq", as GL_RGB16 doesn't seem to work there in some cases (black screen). --- libvo/vo_opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libvo') diff --git a/libvo/vo_opengl.c b/libvo/vo_opengl.c index 842b9c49f5..5c3735eebc 100644 --- a/libvo/vo_opengl.c +++ b/libvo/vo_opengl.c @@ -2333,7 +2333,7 @@ static int preinit(struct vo *vo, const char *arg) .swap_interval = vo_vsync, .osd_color = 0xffffff, .dither_depth = hq ? 0 : -1, - .fbo_format = GL_RGB16, + .fbo_format = hq ? GL_RGB16 : GL_RGB, .use_scale_sep = 1, .use_fancy_downscaling = hq, .scalers = { -- cgit v1.2.3