Skip to content

Commit 01c80c4

Browse files
committed
Don't add vkQueuePresentKHR drawcall while replaying
1 parent 90c4c98 commit 01c80c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

renderdoc/driver/vulkan/wrappers/vk_wsi_funcs.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ bool WrappedVulkan::Serialise_vkQueuePresentKHR(SerialiserType &ser, VkQueue que
696696

697697
SERIALISE_CHECK_READ_ERRORS();
698698

699-
if(IsReplayingAndReading())
699+
if(IsReplayingAndReading() && IsLoading(m_State))
700700
{
701701
AddEvent();
702702

0 commit comments

Comments
 (0)