Videosoftware: Fix memory cleanup code.

This commit is contained in:
Scott Mansell 2014-01-25 11:06:18 +13:00
commit dd42af9a7c

View file

@ -39,8 +39,8 @@ void SWRenderer::Init()
void SWRenderer::Shutdown()
{
delete s_xfbColorTexture[0];
delete s_xfbColorTexture[1];
delete [] s_xfbColorTexture[0];
delete [] s_xfbColorTexture[1];
glDeleteProgram(program);
glDeleteTextures(1, &s_RenderTarget);
if (GLInterface->GetMode() == GLInterfaceMode::MODE_OPENGL)