Mercurial > mplayer.hg
changeset 28087:46d015b2f8a3
Set d3d_handle to NULL after release.
author | reimar |
---|---|
date | Tue, 09 Dec 2008 18:44:48 +0000 |
parents | 39902ce08dc5 |
children | 5e0b35277554 |
files | libvo/vo_direct3d.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_direct3d.c Tue Dec 09 18:41:41 2008 +0000 +++ b/libvo/vo_direct3d.c Tue Dec 09 18:44:48 2008 +0000 @@ -485,6 +485,7 @@ 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.