mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-03 13:31:18 +12:00
Vulkan: Remove unecessary present fence (#1166)
This commit is contained in:
parent
391533dbe5
commit
84cad8b280
5 changed files with 10 additions and 51 deletions
|
@ -875,11 +875,6 @@ void LatteRenderTarget_getScreenImageArea(sint32* x, sint32* y, sint32* width, s
|
|||
|
||||
void LatteRenderTarget_copyToBackbuffer(LatteTextureView* textureView, bool isPadView)
|
||||
{
|
||||
if (g_renderer->GetType() == RendererAPI::Vulkan)
|
||||
{
|
||||
((VulkanRenderer*)g_renderer.get())->PreparePresentationFrame(!isPadView);
|
||||
}
|
||||
|
||||
// make sure texture is updated to latest data in cache
|
||||
LatteTexture_UpdateDataToLatest(textureView->baseTexture);
|
||||
// mark source texture as still in use
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue