fix using eventCount to fetch current EID

This commit is contained in:
baldurk
2015-09-21 18:48:07 +02:00
parent 37afa05847
commit 4b5a55aaa9
+1 -1
View File
@@ -1308,7 +1308,7 @@ void WrappedVulkan::AddEvent(VulkanChunkType type, string description)
apievent.context = ResourceId();
apievent.fileOffset = m_CurChunkOffset;
apievent.eventID = m_LastCmdBufferID != ResourceId() ? m_CmdBufferInfo[m_LastCmdBufferID].eventCount : m_RootEventID;
apievent.eventID = m_LastCmdBufferID != ResourceId() ? m_CmdBufferInfo[m_LastCmdBufferID].curEventID : m_RootEventID;
apievent.eventDesc = description;