summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglframebufferobject.h
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-09-08 00:19:40 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-09-08 00:19:40 (GMT)
commit4bb098ed9449bd3b2798000bc5394bda98c9165f (patch)
tree5283e84d6ddc3ae8fba13f7f734675ecd23646df /src/opengl/qglframebufferobject.h
parent0cbbc9cb9e87a3a39ee1597f4cea1c2b77d8f8da (diff)
downloadQt-4bb098ed9449bd3b2798000bc5394bda98c9165f.zip
Qt-4bb098ed9449bd3b2798000bc5394bda98c9165f.tar.gz
Qt-4bb098ed9449bd3b2798000bc5394bda98c9165f.tar.bz2
Convert QGLFramebufferObjectFormat to use implicit sharing
Reviewed-by: Sarah Smith
Diffstat (limited to 'src/opengl/qglframebufferobject.h')
-rw-r--r--src/opengl/qglframebufferobject.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/opengl/qglframebufferobject.h b/src/opengl/qglframebufferobject.h
index ec1ae7d..6c1c0be 100644
--- a/src/opengl/qglframebufferobject.h
+++ b/src/opengl/qglframebufferobject.h
@@ -93,7 +93,7 @@ public:
virtual ~QGLFramebufferObject();
- const QGLFramebufferObjectFormat &format() const;
+ QGLFramebufferObjectFormat format() const;
bool isValid() const;
bool isBound() const;
@@ -161,6 +161,8 @@ public:
private:
QGLFramebufferObjectFormatPrivate *d;
+
+ void detach();
};
QT_END_NAMESPACE