diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-27 07:29:48 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-27 07:29:48 (GMT) |
commit | fbef539a2a1ec5469b61ea69e72a0538e129e1a4 (patch) | |
tree | 414b68a0c297998a79472c2de064e70d071decf1 /src/opengl/qgl.cpp | |
parent | 62c33357cec8924f2383042c544636ec5aae1c97 (diff) | |
download | Qt-fbef539a2a1ec5469b61ea69e72a0538e129e1a4.zip Qt-fbef539a2a1ec5469b61ea69e72a0538e129e1a4.tar.gz Qt-fbef539a2a1ec5469b61ea69e72a0538e129e1a4.tar.bz2 |
compile on x11
Diffstat (limited to 'src/opengl/qgl.cpp')
-rw-r--r-- | src/opengl/qgl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index e9c4190..02991d9 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -2101,7 +2101,7 @@ QGLTexture *QGLContextPrivate::bindTexture(const QPixmap &pixmap, GLenum target, if (pd->classId() == QPixmapData::X11Class) { texture = bindTextureFromNativePixmap(pd, key, options); if (texture) { - texture->options |= QGLContext::BindMemoryManaged; + texture->options |= QGLContext::MemoryManagedBindOption; texture->boundPixmap = pd; boundPixmaps.insert(pd, QPixmap(pixmap)); } |