diff options
author | wm4 <wm4@nowhere> | 2012-09-30 12:12:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-10-03 03:17:53 +0200 |
commit | 703e02a6ee527c248476c05393f063d43cbfae0c (patch) | |
tree | 0c8b457d4c3da2c5e3516d5eb775c74a5ed5be37 /libvo | |
parent | 5d60ac11b58308fd7d1d828fa9cfd9acd3ea0a96 (diff) | |
download | mpv-703e02a6ee527c248476c05393f063d43cbfae0c.tar.bz2 mpv-703e02a6ee527c248476c05393f063d43cbfae0c.tar.xz |
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).
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_opengl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = { |