From 33d69b27f593b25ff94e0f8de3a9b344f0b6f085 Mon Sep 17 00:00:00 2001 From: rogerman Date: Fri, 7 Aug 2015 19:27:38 +0000 Subject: [PATCH] =?UTF-8?q?Cocoa=20Port:=20-=20Delete=20HQ3x=20LUTs=20when?= =?UTF-8?q?=20we=E2=80=99re=20done=20using=20them.=20(Recommits=20what=20w?= =?UTF-8?q?as=20once=20r5226=20before=20SourceForge=20screwed=20it=20up.)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- desmume/src/cocoa/OGLDisplayOutput.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desmume/src/cocoa/OGLDisplayOutput.cpp b/desmume/src/cocoa/OGLDisplayOutput.cpp index b5038fe6c..54363d9fb 100644 --- a/desmume/src/cocoa/OGLDisplayOutput.cpp +++ b/desmume/src/cocoa/OGLDisplayOutput.cpp @@ -4969,6 +4969,7 @@ OGLImage::~OGLImage() glBindTexture(GL_TEXTURE_3D, 0); glDeleteTextures(1, &this->_texLQ2xLUT); glDeleteTextures(1, &this->_texHQ2xLUT); + glDeleteTextures(1, &this->_texHQ3xLUT); glDeleteTextures(1, &this->_texHQ4xLUT); glActiveTexture(GL_TEXTURE0); @@ -5796,6 +5797,7 @@ OGLDisplayLayer::~OGLDisplayLayer() glBindTexture(GL_TEXTURE_3D, 0); glDeleteTextures(1, &this->_texLQ2xLUT); glDeleteTextures(1, &this->_texHQ2xLUT); + glDeleteTextures(1, &this->_texHQ3xLUT); glDeleteTextures(1, &this->_texHQ4xLUT); glActiveTexture(GL_TEXTURE0);