mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
rsx: Fix use after move warning
This commit is contained in:
parent
bf6a199c02
commit
18b5710d90
1 changed files with 1 additions and 0 deletions
|
@ -504,6 +504,7 @@ namespace rsx
|
||||||
{
|
{
|
||||||
// Exchange this surface with the invalidated one
|
// Exchange this surface with the invalidated one
|
||||||
surface = std::move(old_surface_storage);
|
surface = std::move(old_surface_storage);
|
||||||
|
old_surface_storage = {};
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue