fix: GPU capture button not working

This commit is contained in:
Samuliak 2025-01-04 17:02:03 +01:00
parent 813c52c23c
commit 337ec6b721
No known key found for this signature in database
2 changed files with 7 additions and 10 deletions

View file

@ -188,6 +188,9 @@ MetalRenderer::MetalRenderer()
m_copyBufferToBufferPipeline = new MetalVoidVertexPipeline(this, utilityLibrary, "vertexCopyBufferToBuffer");
utilityLibrary->release();
// HACK: for some reason, this variable ends up being initialized to some garbage data, even though its declared as bool m_captureFrame = false;
m_captureFrame = false;
}
MetalRenderer::~MetalRenderer()