Skip to content

Commit 9650914

Browse files
committed
Clarified comment
1 parent 2604b94 commit 9650914

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ngscopeclient/VulkanWindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ void VulkanWindow::Render()
445445
m_softwareResizeRequested = false;
446446
LogTrace("Software window resize to (%d, %d)\n", m_pendingWidth, m_pendingHeight);
447447

448-
//can't resize the window during any other vulkan activity
448+
//waitIdle is exclusive with all other operations
449449
lock_guard<shared_mutex> lock(g_vulkanActivityMutex);
450450
g_vkComputeDevice->waitIdle();
451451
glfwSetWindowSize(m_window, m_pendingWidth, m_pendingHeight);

0 commit comments

Comments
 (0)