Commit fe6ddde4 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

directdraw: DDOVER_DDFX needs to be set when setting a DDOVERLAYFX

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent f19b0353
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment