mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-08 16:01:19 +12:00
fix: buffer cache crash on shutdown
This commit is contained in:
parent
52062bd285
commit
d48de5b56f
2 changed files with 4 additions and 2 deletions
|
@ -676,6 +676,7 @@ void MetalRenderer::draw_execute(uint32 baseVertex, uint32 baseInstance, uint32
|
|||
// TODO: uncomment
|
||||
//if (m_state.m_skipDrawSequence)
|
||||
//{
|
||||
// LatteGPUState.drawCallCounter++;
|
||||
// return;
|
||||
//}
|
||||
|
||||
|
@ -811,6 +812,8 @@ void MetalRenderer::draw_execute(uint32 baseVertex, uint32 baseInstance, uint32
|
|||
{
|
||||
renderCommandEncoder->drawPrimitives(mtlPrimitiveType, baseVertex, count, instanceCount, baseInstance);
|
||||
}
|
||||
|
||||
LatteGPUState.drawCallCounter++;
|
||||
}
|
||||
|
||||
void MetalRenderer::draw_endSequence()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue