Cocoa Port:

- Delete HQ3x LUTs when we’re done using them. (Recommits what was once r5226 before SourceForge screwed it up.)
This commit is contained in:
rogerman 2015-08-07 19:27:38 +00:00
parent a7b62386a7
commit 33d69b27f5
1 changed files with 2 additions and 0 deletions

View File

@ -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);