mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-13 07:39:22 +00:00
Don't add vkQueuePresentKHR drawcall while replaying
This commit is contained in:
1 file changed
+1
-1
@@ -696,7 +696,7 @@ bool WrappedVulkan::Serialise_vkQueuePresentKHR(SerialiserType &ser, VkQueue que
|
||||
|
||||
SERIALISE_CHECK_READ_ERRORS();
|
||||
|
||||
if(IsReplayingAndReading())
|
||||
if(IsReplayingAndReading() && IsLoading(m_State))
|
||||
{
|
||||
AddEvent();
|
||||
|
||||
|
||||
Reference in new issue
Block a user