summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-02 15:03:19 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-02 15:03:19 +0000
commit27b167bb75b908541563bab964e97b06d621f837 (patch)
tree17e4877cebb0b6e157c11d99cd86a5ca96b0474a /libvo
parentbb89a7696daffa36832790e4fc1ee67b0dfad8e3 (diff)
downloadmpv-27b167bb75b908541563bab964e97b06d621f837.tar.bz2
mpv-27b167bb75b908541563bab964e97b06d621f837.tar.xz
Remove resize_d3d call from render_d3d_frame that was made useless
by previous commit. If this is necessary e.g. to prevent flicker while resizing, check_events should be called instead or even better the functionality be moved to some higher layer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28065 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_direct3d.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_direct3d.c b/libvo/vo_direct3d.c
index a25bd705b0..1958fb45ca 100644
--- a/libvo/vo_direct3d.c
+++ b/libvo/vo_direct3d.c
@@ -386,8 +386,6 @@ static uint32_t render_d3d_frame(mp_image_t *mpi)
* if (mpi->flags & MP_IMGFLAG_DIRECT) ...
*/
- resize_d3d();
-
if (mpi->flags & MP_IMGFLAG_DRAW_CALLBACK)
goto skip_upload;