mirror of https://github.com/PCSX2/pcsx2.git
GS SW: Adjust order SW is destroyed, fixes GS Dump crash
This commit is contained in:
parent
0312e9026d
commit
86309bd837
|
@ -70,6 +70,8 @@ GSRendererSW::GSRendererSW(int threads)
|
|||
|
||||
GSRendererSW::~GSRendererSW()
|
||||
{
|
||||
// Need to destroy worker queue first to stop any pending thread work
|
||||
delete m_rl;
|
||||
delete m_tc;
|
||||
|
||||
for (GSTexture* tex : m_texture)
|
||||
|
@ -77,8 +79,6 @@ GSRendererSW::~GSRendererSW()
|
|||
delete tex;
|
||||
}
|
||||
|
||||
delete m_rl;
|
||||
|
||||
_aligned_free(m_output);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue