mirror of https://github.com/mpv-player/mpv
100l, do not call check_events from resize_d3d since there should be
no reason to do it and it might call resize_d3d again which makes it hard to guarantee that it works correctly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28064 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
2d330d3c01
commit
bb89a7696d
|
@ -330,9 +330,6 @@ static int resize_d3d(void)
|
||||||
|
|
||||||
mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d><INFO>resize_d3d called.\n");
|
mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d><INFO>resize_d3d called.\n");
|
||||||
|
|
||||||
|
|
||||||
check_events();
|
|
||||||
|
|
||||||
destroy_d3d_surfaces();
|
destroy_d3d_surfaces();
|
||||||
|
|
||||||
/* Reset the D3D Device with all parameters the same except the new
|
/* Reset the D3D Device with all parameters the same except the new
|
||||||
|
|
Loading…
Reference in New Issue