Vulkan: Remove the useThread bool entirely.

This commit is contained in:
Henrik Rydgård committed 2022-09-19 18:17:26 +02:00
1 parent d0016add37
commit cfe4e3278d
3 files changed
+65 -84

No files matched your search

+1 -1
View File
@@ -124,7 +124,7 @@ void FrameData::SubmitMainFinal(VulkanContext *vulkan, bool triggerFrameFence, F
}
// When !triggerFence, we notify after syncing with Vulkan.
if (sharedData.useThread && triggerFrameFence) {
if (triggerFrameFence) {
VERBOSE_LOG(G3D, "PULL: Frame %d.readyForFence = true", index);
std::unique_lock<std::mutex> lock(push_mutex);
readyForFence = true;