Forgotten part of previous cosmetics commit

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28120 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar
2008-12-09 18:41:41 +00:00
parent 6f621f00d8
commit d0952d0b19
+2 -3
View File
@@ -476,10 +476,9 @@ static void uninit_d3d(void)
destroy_d3d_surfaces();
/* Destroy the D3D Device */
if (priv->d3d_device) {
if (priv->d3d_device)
IDirect3DDevice9_Release(priv->d3d_device);
priv->d3d_device = NULL;
}
priv->d3d_device = NULL;
/* Stop the whole D3D. */
if (priv->d3d_handle) {