mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-14 02:00:15 +01:00
GS:MTL: Clear a few warnings
This commit is contained in:
1 parent
08f503748e
commit
ec887d5aaf
1 file changed
+2
-2
@@ -305,7 +305,7 @@ void GSDeviceMTL::FlushEncoders()
|
||||
if (GSDeviceMTL* dev = backref->second)
|
||||
{
|
||||
dev->DrawCommandBufferFinished(draw, buf);
|
||||
dev->m_spin_manager.DrawCompleted(spin_id, begin, end);
|
||||
dev->m_spin_manager.DrawCompleted(spin_id, static_cast<u32>(begin), static_cast<u32>(end));
|
||||
}
|
||||
}];
|
||||
}
|
||||
@@ -342,7 +342,7 @@ void GSDeviceMTL::FlushEncoders()
|
||||
#pragma clang diagnostic pop
|
||||
std::lock_guard<std::mutex> guard(backref->first);
|
||||
if (GSDeviceMTL* dev = backref->second)
|
||||
dev->m_spin_manager.SpinCompleted(spin_cycles, begin, end);
|
||||
dev->m_spin_manager.SpinCompleted(spin_cycles, static_cast<u32>(begin), static_cast<u32>(end));
|
||||
}];
|
||||
[spinCmdBuf commit];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user