summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-03-28 21:44:33 +0100
committerwm4 <wm4@nowhere>2013-03-28 21:46:17 +0100
commita0e2f7113b33395595308229afe410aa21ec568f (patch)
tree7355cf245748dd98b78d9d8764a8109389fcc21e /video
parent8099cbe9dd64f48050918242e088a1f998c77a15 (diff)
downloadmpv-a0e2f7113b33395595308229afe410aa21ec568f.tar.bz2
mpv-a0e2f7113b33395595308229afe410aa21ec568f.tar.xz
gl_video: add some alpha FBO formats
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_video.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 961249f1cf..5b98e42d56 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -251,7 +251,11 @@ const struct m_sub_options gl_video_conf = {
{"rgb10", GL_RGB10},
{"rgb16", GL_RGB16},
{"rgb16f", GL_RGB16F},
- {"rgb32f", GL_RGB32F})),
+ {"rgb32f", GL_RGB32F},
+ {"rgba12", GL_RGBA12},
+ {"rgba16", GL_RGBA16},
+ {"rgba16f", GL_RGBA16F},
+ {"rgba32f", GL_RGBA32F})),
OPT_INTRANGE("dither-depth", dither_depth, 0, -1, 16),
OPT_FLAG("alpha", enable_alpha, 0),
{0}