Mercurial > mplayer.hg
changeset 27985:1c77b86d355d
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.
author | reimar |
---|---|
date | Mon, 24 Nov 2008 09:46:23 +0000 |
parents | 21221fd6d994 |
children | 9e17ab676ab9 |
files | libvo/vo_direct3d.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_direct3d.c Mon Nov 24 09:44:33 2008 +0000 +++ b/libvo/vo_direct3d.c Mon Nov 24 09:46:23 2008 +0000 @@ -265,10 +265,6 @@ 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;