changeset 28086:39902ce08dc5

Forgotten part of previous cosmetics commit
author reimar
date Tue, 09 Dec 2008 18:41:41 +0000
parents f2606c3433ef
children 46d015b2f8a3
files libvo/vo_direct3d.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_direct3d.c	Tue Dec 09 18:36:15 2008 +0000
+++ b/libvo/vo_direct3d.c	Tue Dec 09 18:41:41 2008 +0000
@@ -476,10 +476,9 @@
     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) {