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:
ramapcsx2 2010-04-18 17:11:45 +00:00
parent 618e295c95
commit 86546338ea
1 changed files with 1 additions and 0 deletions

View File

@ -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);
} }