From 3aba805bc976fbb51b5d4202c9222af5eb24f781 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 24 May 2025 04:46:51 +0200 Subject: [PATCH] rsx: Fix use after move warning --- rpcs3/Emu/RSX/Common/surface_store.h | 1 + 1 file changed, 1 insertion(+) diff --git a/rpcs3/Emu/RSX/Common/surface_store.h b/rpcs3/Emu/RSX/Common/surface_store.h index 35813965e0..9b266a54ed 100644 --- a/rpcs3/Emu/RSX/Common/surface_store.h +++ b/rpcs3/Emu/RSX/Common/surface_store.h @@ -504,6 +504,7 @@ namespace rsx { // Exchange this surface with the invalidated one surface = std::move(old_surface_storage); + old_surface_storage = {}; } else {