Commit abd8a983 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

direct3d9: do not keep the pool pointer when the device is being reopened

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 910722dd
......@@ -1059,7 +1059,10 @@ static void Direct3D9DestroyResources(vout_display_t *vd)
{
Direct3D9DestroyScene(vd);
if (vd->sys->sys.pool)
{
picture_pool_Release(vd->sys->sys.pool);
vd->sys->sys.pool = NULL;
}
Direct3D9DestroyShaders(vd);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment