mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 22:41:25 +12:00
rsx: Fix use after move warning
This commit is contained in:
parent
09ab5477e8
commit
3aba805bc9
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