# HG changeset patch # User reimar # Date 1228848101 0 # Node ID 39902ce08dc5e3ea7095c7fa23fd488db340c710 # Parent f2606c3433ef4dc1950cc6ab480f15de30efebc2 Forgotten part of previous cosmetics commit diff -r f2606c3433ef -r 39902ce08dc5 libvo/vo_direct3d.c --- 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) {