1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00

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
This commit is contained in:
reimar 2008-11-24 09:46:23 +00:00
parent 5cb896b7eb
commit 2c6a12c01d

View File

@ -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;