# HG changeset patch # User reimar # Date 1227519983 0 # Node ID 1c77b86d355df402c6d654e7e52a6670e7cdf78a # Parent 21221fd6d994d273e704dccdb62185244a62aa02 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. diff -r 21221fd6d994 -r 1c77b86d355d libvo/vo_direct3d.c --- 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;