summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@kinoho.net>2014-02-17 11:33:37 +0100
committerwm4 <wm4@nowhere>2014-02-17 20:31:14 +0100
commit472bb04e9d02ef63ad51fd15409aac8e7340cd10 (patch)
tree3595471683188367b1d2646c94d199a5587eb554 /video
parent333d1045b7a86ed3fe85ddea18ab6edb37d9b4bd (diff)
downloadmpv-472bb04e9d02ef63ad51fd15409aac8e7340cd10.tar.bz2
mpv-472bb04e9d02ef63ad51fd15409aac8e7340cd10.tar.xz
vo_opengl: use GL_RGBA16 FBO format for HQ
GL_RGB16 is definitely not a required format, after review of the OpenGL 3.3 spec. Most HW doesn't have native support for RGB16 anyway.
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 0f50403687..af1d3e166b 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -291,7 +291,7 @@ const struct gl_video_opts gl_video_opts_hq_def = {
.npot = 1,
.dither_depth = 0,
.dither_size = 6,
- .fbo_format = GL_RGB16,
+ .fbo_format = GL_RGBA16,
.scale_sep = 1,
.scalers = { "lanczos2", "bilinear" },
.scaler_params = {NAN, NAN},