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:
parent
a7b62386a7
commit
33d69b27f5
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue