mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-12-02 14:43:59 +08:00
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:
parent
d6044cf857
commit
c6468f6547
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user