From c6468f6547cd97c45569cf3b221f7178181298a6 Mon Sep 17 00:00:00 2001 From: Axel Davy Date: Sat, 20 May 2023 13:58:42 +0200 Subject: [PATCH] frontend/nine: Reset should EndScene This was reported by some users. Cc: mesa-stable Signed-off-by: Axel Davy Part-of: --- src/gallium/frontends/nine/device9.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/frontends/nine/device9.c b/src/gallium/frontends/nine/device9.c index d98fc3cc776..0f4fc7c44d1 100644 --- a/src/gallium/frontends/nine/device9.c +++ b/src/gallium/frontends/nine/device9.c @@ -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; }