diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2011-03-02 14:31:28 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2011-03-02 14:31:28 (GMT) |
commit | 571946141df5428c08221381b2f18302e004825f (patch) | |
tree | 61807cfb4b0596265c11e5a21c5393272d72a952 /src/plugins/platforms/xlib/qxlibintegration.cpp | |
parent | 12573a8860d10cf023246e9d3d7f5739d83aabe4 (diff) | |
download | Qt-571946141df5428c08221381b2f18302e004825f.zip Qt-571946141df5428c08221381b2f18302e004825f.tar.gz Qt-571946141df5428c08221381b2f18302e004825f.tar.bz2 |
Compile with glx
Reviewed-by: Jørgen
Diffstat (limited to 'src/plugins/platforms/xlib/qxlibintegration.cpp')
-rw-r--r-- | src/plugins/platforms/xlib/qxlibintegration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/xlib/qxlibintegration.cpp b/src/plugins/platforms/xlib/qxlibintegration.cpp index e3ebb13..c207eb2 100644 --- a/src/plugins/platforms/xlib/qxlibintegration.cpp +++ b/src/plugins/platforms/xlib/qxlibintegration.cpp @@ -135,7 +135,7 @@ bool QXlibIntegration::hasOpenGL() const #if !defined(QT_NO_OPENGL) #if !defined(QT_OPENGL_ES_2) QXlibScreen *screen = static_cast<const QXlibScreen *>(mScreens.at(0)); - return glXQueryExtension(screen->display(), 0, 0) != 0; + return glXQueryExtension(screen->display()->nativeDisplay(), 0, 0) != 0; #else static bool eglHasbeenInitialized = false; static bool wasEglInitialized = false; |