rsx: Fix use after move warning
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user