From d0952d0b19724e48dd7475ebadf3ddb80c8cf75d Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 9 Dec 2008 18:41:41 +0000 Subject: [PATCH] Forgotten part of previous cosmetics commit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28120 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_direct3d.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libvo/vo_direct3d.c b/libvo/vo_direct3d.c index 37852a9a27..96dcdb5c66 100644 --- a/libvo/vo_direct3d.c +++ b/libvo/vo_direct3d.c @@ -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) {