mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 12:02:23 +02: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:
parent
6f621f00d8
commit
d0952d0b19
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user