Videosoftware: Fix memory cleanup code.
This commit is contained in:
parent
a3d1b9aba7
commit
dd42af9a7c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue