Fix missing queue use in FlushLists call

This commit is contained in:
baldurk
2025-01-08 10:25:41 +00:00
parent e6b4de8138
commit 898e4e0028
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -4777,14 +4777,14 @@ void WrappedID3D12Device::ExecuteLists(WrappedID3D12CommandQueue *queue, bool In
m_InternalCmds.pendingcmds.clear();
}
void WrappedID3D12Device::FlushLists(bool forceSync, ID3D12CommandQueue *queue)
void WrappedID3D12Device::FlushLists(bool forceSync)
{
if(HasFatalError())
return;
if(!m_InternalCmds.submittedcmds.empty() || forceSync)
{
QueueWaitForIdle(queue, m_WFIFence);
QueueWaitForIdle(m_Queue, m_WFIFence);
if(!m_InternalCmds.submittedcmds.empty())
m_InternalCmds.freecmds.append(m_InternalCmds.submittedcmds);
+1 -1
View File
@@ -1069,7 +1069,7 @@ public:
bool InFrameCaptureBoundary = false);
void MarkListExecuted(ID3D12GraphicsCommandListX *list);
void ExecuteLists(WrappedID3D12CommandQueue *queue = NULL, bool InFrameCaptureBoundary = false);
void FlushLists(bool forceSync = false, ID3D12CommandQueue *queue = NULL);
void FlushLists(bool forceSync = false);
void DataUploadSync();