summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-03 10:54:27 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-03 10:54:27 +0000
commitcd8ef8a8f609e99d0225a27ceb84afa8cfe5d962 (patch)
tree02d642d473799a1429d5d8ad72c002c9fe0079b0 /libvo
parent3819692fdad07d6b9bc16615bc9401fd76a367ee (diff)
downloadmpv-cd8ef8a8f609e99d0225a27ceb84afa8cfe5d962.tar.bz2
mpv-cd8ef8a8f609e99d0225a27ceb84afa8cfe5d962.tar.xz
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
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_direct3d.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libvo/vo_direct3d.c b/libvo/vo_direct3d.c
index abeba43ada..2f4847ee10 100644
--- a/libvo/vo_direct3d.c
+++ b/libvo/vo_direct3d.c
@@ -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");
}