[vlc-commits] directdraw: DDOVER_DDFX needs to be set when setting a DDOVERLAYFX
Steve Lhomme
git at videolan.org
Thu May 26 18:37:43 CEST 2016
vlc | branch: master | Steve Lhomme <robux4 at videolabs.io> | Thu May 26 18:16:00 2016 +0200| [fe6ddde45bc94538a9769f237e21894bdb2a14e5] | committer: Jean-Baptiste Kempf
directdraw: DDOVER_DDFX needs to be set when setting a DDOVERLAYFX
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe6ddde45bc94538a9769f237e21894bdb2a14e5
---
modules/video_output/win32/directdraw.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/video_output/win32/directdraw.c b/modules/video_output/win32/directdraw.c
index 855de57..6e4d262 100644
--- a/modules/video_output/win32/directdraw.c
+++ b/modules/video_output/win32/directdraw.c
@@ -1344,7 +1344,8 @@ static int DirectXUpdateOverlay(vout_display_t *vd, LPDIRECTDRAWSURFACE2 surface
HRESULT hr = IDirectDrawSurface2_UpdateOverlay(surface,
&src, sys->display, &dst,
- DDOVER_SHOW | DDOVER_KEYDESTOVERRIDE, &ddofx);
+ DDOVER_SHOW | DDOVER_KEYDESTOVERRIDE | DDOVER_DDFX,
+ &ddofx);
sys->restore_overlay = hr != DD_OK;
if (hr != DD_OK) {
More information about the vlc-commits
mailing list