[MPlayer-cvslog] r28121 - trunk/libvo/vo_direct3d.c

reimar subversion at mplayerhq.hu
Tue Dec 9 19:44:49 CET 2008


Author: reimar
Date: Tue Dec  9 19:44:48 2008
New Revision: 28121

Log:
Set d3d_handle to NULL after release.


Modified:
   trunk/libvo/vo_direct3d.c

Modified: trunk/libvo/vo_direct3d.c
==============================================================================
--- trunk/libvo/vo_direct3d.c	(original)
+++ trunk/libvo/vo_direct3d.c	Tue Dec  9 19:44:48 2008
@@ -485,6 +485,7 @@ static void uninit_d3d(void)
         mp_msg(MSGT_VO, MSGL_V, "<vo_direct3d>Calling IDirect3D9_Release\r\n");
         IDirect3D9_Release(priv->d3d_handle);
     }
+    priv->d3d_handle = NULL;
 }
 
 /** @brief Render a frame on the screen.



More information about the MPlayer-cvslog mailing list