mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Videosoftware: Fix memory cleanup code.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user