summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-08-27 07:38:25 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-08-27 07:38:25 (GMT)
commit0bc91ae61b07751f44210e1b772679c0a180c900 (patch)
tree2626eb14574ee9a2f1ba979c4aef70db69f88d19
parentda5033d8b48b24580e3b6faf7b4e2a8fe2cec254 (diff)
downloadQt-0bc91ae61b07751f44210e1b772679c0a180c900.zip
Qt-0bc91ae61b07751f44210e1b772679c0a180c900.tar.gz
Qt-0bc91ae61b07751f44210e1b772679c0a180c900.tar.bz2
compile x11
-rw-r--r--src/opengl/qgl.cpp2
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));
}