mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
[Vulkan] Use move instead of release to return ImmediateTexture
This commit is contained in:
parent
183269ba16
commit
d78b2a9a93
|
|
@ -184,7 +184,7 @@ std::unique_ptr<ImmediateTexture> VulkanImmediateDrawer::CreateTexture(
|
||||||
texture_uploads_pending_[texture->pending_upload_index_].texture =
|
texture_uploads_pending_[texture->pending_upload_index_].texture =
|
||||||
texture.get();
|
texture.get();
|
||||||
}
|
}
|
||||||
return std::unique_ptr<ImmediateTexture>(texture.release());
|
return std::move(texture);
|
||||||
}
|
}
|
||||||
|
|
||||||
void VulkanImmediateDrawer::Begin(int render_target_width,
|
void VulkanImmediateDrawer::Begin(int render_target_width,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue