mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06: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