frontend/nine: Reset should EndScene

This was reported by some users.

Cc: mesa-stable
Signed-off-by: Axel Davy <davyaxel0@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28232>
This commit is contained in:
Axel Davy 2023-05-20 13:58:42 +02:00 committed by David Heidelberg
parent d6044cf857
commit c6468f6547

View File

@ -1045,6 +1045,7 @@ NineDevice9_Reset( struct NineDevice9 *This,
/* XXX: better use GetBackBuffer here ? */
This->device_needs_reset = (hr != D3D_OK);
This->in_scene = FALSE; /* Not sure if should be done also for ResetEx */
return hr;
}