mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 15:11:09 +08:00
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:
+2
-3
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user