diff --git a/Source/Core/VideoBackends/Software/SWRenderer.cpp b/Source/Core/VideoBackends/Software/SWRenderer.cpp index e8f7c86c06..783a8eee0a 100644 --- a/Source/Core/VideoBackends/Software/SWRenderer.cpp +++ b/Source/Core/VideoBackends/Software/SWRenderer.cpp @@ -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)