forked from MoonsideGames/Refresh
fix hang when staging buffer flushes
parent
6a1c2aa9bf
commit
41ea091749
|
@ -5926,12 +5926,6 @@ static void VULKAN_INTERNAL_FlushTransfers(
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
renderer->vkResetFences(
|
|
||||||
renderer->logicalDevice,
|
|
||||||
1,
|
|
||||||
&renderer->inFlightFence
|
|
||||||
);
|
|
||||||
|
|
||||||
renderer->pendingTransfer = 0;
|
renderer->pendingTransfer = 0;
|
||||||
renderer->textureStagingBufferOffset = 0;
|
renderer->textureStagingBufferOffset = 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue