Fix a merge regression in Texture::release.
Seems to be a lost change caused by rebasing moved code.
This commit is contained in:
parent
d4ba7b5e6b
commit
9865608fb3
1 changed files with 3 additions and 1 deletions
|
@ -640,7 +640,9 @@ void SceneOpenGL::Texture::init()
|
|||
void SceneOpenGL::Texture::release()
|
||||
{
|
||||
if (glxpixmap != None) {
|
||||
if (!options->glStrictBinding) {
|
||||
glXReleaseTexImageEXT(display(), glxpixmap, GLX_FRONT_LEFT_EXT);
|
||||
}
|
||||
glXDestroyPixmap(display(), glxpixmap);
|
||||
glxpixmap = None;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue