mirror of https://github.com/PCSX2/pcsx2.git
GS/Metal: Don't end up with two encoders on readback
This commit is contained in:
parent
5972f4947d
commit
147a6c81a1
|
@ -194,8 +194,8 @@ void GSDownloadTextureMTL::CopyFromTexture(
|
|||
GetTransferPitch(use_transfer_pitch ? static_cast<u32>(drc.width()) : m_width, PITCH_ALIGNMENT);
|
||||
GetTransferSize(drc, ©_offset, ©_size, ©_rows);
|
||||
|
||||
m_dev->EndRenderPass();
|
||||
mtlTex->FlushClears();
|
||||
m_dev->EndRenderPass();
|
||||
g_perfmon.Put(GSPerfMon::Readbacks, 1);
|
||||
|
||||
m_copy_cmdbuffer = MRCRetain(m_dev->GetRenderCmdBuf());
|
||||
|
|
Loading…
Reference in New Issue