mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-12-16 03:58:56 +00:00
Move insteed of copy
This commit is contained in:
parent
7ee50635c0
commit
1ed8a5d111
@ -145,9 +145,9 @@ void TextureCache::DownloadImageMemory(ImageId image_id) {
|
||||
};
|
||||
|
||||
if constexpr (priority) {
|
||||
scheduler.DeferPriorityOperation(operation);
|
||||
scheduler.DeferPriorityOperation(std::move(operation));
|
||||
} else {
|
||||
scheduler.DeferOperation(operation);
|
||||
scheduler.DeferOperation(std::move(operation));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user