mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00:00
Remove the Present call after adapter reinitialization, it can not work anyway
since no video frame is uploaded to the new context yet. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28456 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3819692fda
commit
cd8ef8a8f6
@ -865,10 +865,6 @@ static void flip_page(void)
|
||||
mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Reinitialization failed.\n");
|
||||
return;
|
||||
}
|
||||
if (FAILED(IDirect3DDevice9_Present(priv->d3d_device, &rect, 0, 0, 0))) {
|
||||
mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Reinitialization failed.\n");
|
||||
return;
|
||||
}
|
||||
else
|
||||
mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Video adapter reinitialized.\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user