Henri Verbeet : wined3d: Set the depth/ stencil buffer to NULL before releasing it.