aboutsummaryrefslogtreecommitdiffhomepage
path: root/video/out/vo_direct3d.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2015-04-07 11:43:03 +0200
committerGravatar wm4 <wm4@nowhere>2015-04-07 11:43:03 +0200
commitf6b2325c2a4c3ede7fc9cfe9bf32e5c09f5a115e (patch)
treef49f0a68b96bd11a2ded283ae97d737ed00b8e53 /video/out/vo_direct3d.c
parentefae88e5212372513bdad6c335050fe50d28c22d (diff)
video/out: fix screenshot image formats
Use variants without alpha. I skipped vo_sdl, because format selection seems a bit more complicated here, and nobody cares about vo_sdl anymore.
Diffstat (limited to 'video/out/vo_direct3d.c')
-rw-r--r--video/out/vo_direct3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c
index ac72efe2f8..b9e1b92326 100644
--- a/video/out/vo_direct3d.c
+++ b/video/out/vo_direct3d.c
@@ -1517,7 +1517,7 @@ static mp_image_t *get_window_screenshot(d3d_priv *priv)
if (width < 1 || height < 1)
goto error_exit;
- image = mp_image_alloc(IMGFMT_BGR32, width, height);
+ image = mp_image_alloc(IMGFMT_BGR0, width, height);
if (!image)
goto error_exit;