summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_direct3d.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_direct3d.c b/libvo/vo_direct3d.c
index 96dcdb5c66..83ddedeeea 100644
--- a/libvo/vo_direct3d.c
+++ b/libvo/vo_direct3d.c
@@ -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.