From f6b2325c2a4c3ede7fc9cfe9bf32e5c09f5a115e Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 7 Apr 2015 11:43:03 +0200 Subject: 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. --- video/out/vo_direct3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vo_direct3d.c') 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; -- cgit v1.2.3