diff --git a/dlls/wined3d/device.c b/dlls/wined3d/device.c index cd39e2087f4..c5944603466 100644 --- a/dlls/wined3d/device.c +++ b/dlls/wined3d/device.c @@ -7002,6 +7002,8 @@ static void updateSurfaceDesc(IWineD3DSurfaceImpl *surface, WINED3DPRESENT_PARAM surface->resource.allocatedMemory = NULL; surface->resource.heapMemory = NULL; surface->resource.size = IWineD3DSurface_GetPitch((IWineD3DSurface *) surface) * surface->pow2Width; + /* INDRAWABLE is a sane place for implicit targets / depth stencil after the reset */ + IWineD3DSurface_ModifyLocation((IWineD3DSurface *) surface, SFLAG_INDRAWABLE, TRUE); } static HRESULT WINAPI reset_unload_resources(IWineD3DResource *resource, void *data) {