summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformglcontext_qpa.h
diff options
context:
space:
mode:
authorChristian Kamm <christian.d.kamm@nokia.com>2010-08-06 10:35:47 (GMT)
committerChristian Kamm <christian.d.kamm@nokia.com>2010-08-06 10:35:47 (GMT)
commita8530e5db7ae25ea0ab5df4681308374abf8b6ba (patch)
treef78ee517e8f160aeaed1915854b3ff7c41612ee5 /src/gui/kernel/qplatformglcontext_qpa.h
parenta1f0a650578b71fddae9db05435715338b15ba35 (diff)
downloadQt-a8530e5db7ae25ea0ab5df4681308374abf8b6ba.zip
Qt-a8530e5db7ae25ea0ab5df4681308374abf8b6ba.tar.gz
Qt-a8530e5db7ae25ea0ab5df4681308374abf8b6ba.tar.bz2
Allow customizing the default fbo from the QPlatformGLContext.
Reviewed-by: Jørgen Lind
Diffstat (limited to 'src/gui/kernel/qplatformglcontext_qpa.h')
-rw-r--r--src/gui/kernel/qplatformglcontext_qpa.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformglcontext_qpa.h b/src/gui/kernel/qplatformglcontext_qpa.h
index d235848..9bfe676 100644
--- a/src/gui/kernel/qplatformglcontext_qpa.h
+++ b/src/gui/kernel/qplatformglcontext_qpa.h
@@ -57,6 +57,7 @@ public:
virtual void doneCurrent() = 0;
virtual void swapBuffers() = 0;
virtual void* getProcAddress(const QString& procName) = 0;
+ virtual GLuint defaultFBO() const;
virtual QPlatformWindowFormat platformWindowFormat() const = 0;