summaryrefslogtreecommitdiffstats
path: root/libvo/vo_direct3d.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-24 09:46:23 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-11-24 09:46:23 +0000
commit2c6a12c01d1c333e8f160d5942314c1ecca56d3e (patch)
treeac775c83f7ab515c3b69f19cb21826a2f6aabe9e /libvo/vo_direct3d.c
parent5cb896b7eba3d16fd908aacd06d64b5f7dcabf20 (diff)
downloadmpv-2c6a12c01d1c333e8f160d5942314c1ecca56d3e.tar.bz2
mpv-2c6a12c01d1c333e8f160d5942314c1ecca56d3e.tar.xz
Remove a ColorFill that is not necessary since the surface it is used
on has exactly the same size as the video image and the video will be copied into it before it is used the first time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28019 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_direct3d.c')
-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 7be0734c2d..78b8dbc159 100644
--- a/libvo/vo_direct3d.c
+++ b/libvo/vo_direct3d.c
@@ -265,10 +265,6 @@ static int reconfigure_d3d(void)
return 0;
}
- /* Fill the Surface with black color. */
- IDirect3DDevice9_ColorFill(priv->d3d_device, priv->d3d_surface, NULL,
- D3DCOLOR_ARGB(0xFF, 0, 0, 0) );
-
calc_fs_rect();
return 1;