summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl.h
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-11-26 08:17:35 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-11-26 15:05:59 (GMT)
commit896c51e4d41a7fee06a1601f1b25746f9f98be88 (patch)
treecac70e587d9f293d9a3b4a86320e7b3fb33cd812 /src/opengl/qgl.h
parent004cd14b84e3683cd92cf01061ee9688990f990c (diff)
downloadQt-896c51e4d41a7fee06a1601f1b25746f9f98be88.zip
Qt-896c51e4d41a7fee06a1601f1b25746f9f98be88.tar.gz
Qt-896c51e4d41a7fee06a1601f1b25746f9f98be88.tar.bz2
Move the Lighthouse specfic api into qpa_qpa.cpp
and ifdef the functions in qgl.h
Diffstat (limited to 'src/opengl/qgl.h')
-rw-r--r--src/opengl/qgl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h
index f5e0bd7..ff135fa 100644
--- a/src/opengl/qgl.h
+++ b/src/opengl/qgl.h
@@ -383,7 +383,9 @@ public:
static const QGLContext* currentContext();
+#ifdef Q_WS_QPA
static QGLContext *fromPlatformGLContext(QPlatformGLContext *platformContext);
+#endif
protected:
virtual bool chooseContext(const QGLContext* shareContext = 0);