Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Videosoftware: Fix memory cleanup code.
  • Loading branch information
phire committed Jan 24, 2014
1 parent a3d1b9a commit dd42af9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/VideoBackends/Software/SWRenderer.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit dd42af9

Please sign in to comment.