Videosoftware: Fix memory cleanup code.

This commit is contained in:
Scott Mansell 2014-01-25 11:06:18 +13:00
parent a3d1b9aba7
commit dd42af9a7c
1 changed files with 2 additions and 2 deletions

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)