mirror of https://github.com/PCSX2/pcsx2.git
GSdx:
Fix a memory leak with the blend interlace modes. git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2870 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
618e295c95
commit
86546338ea
|
@ -248,6 +248,7 @@ void GSDevice::Interlace(const GSVector2i& ds, int field, int mode, float yoffse
|
||||||
|
|
||||||
if(!m_blend || !(m_blend->GetSize() == ds))
|
if(!m_blend || !(m_blend->GetSize() == ds))
|
||||||
{
|
{
|
||||||
|
delete m_blend;
|
||||||
m_blend = CreateRenderTarget(ds.x, ds.y, false);
|
m_blend = CreateRenderTarget(ds.x, ds.y, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue