summaryrefslogtreecommitdiff
path: root/src/opengl/qpixmapdata_gl_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-10-30 13:59:41 +0100
committerSamuel Rødal <sroedal@trolltech.com>2009-11-02 12:57:54 +0100
commit70b7f26c3155e83d59cae7b89ed1af3b57797a73 (patch)
tree95ff4f7690ac800cd3e228c4f29da306ea263878 /src/opengl/qpixmapdata_gl_p.h
parent85e41590732f15cec16909bf1121d944ae684373 (diff)
downloadqt4-tools-70b7f26c3155e83d59cae7b89ed1af3b57797a73.tar.gz
Added strict size parameter to QGLFramebufferObject pool.
The strict size parameter can be used when it's critical that we get the exact size we ask for. Reviewed-by: Gunnar Sletta
Diffstat (limited to 'src/opengl/qpixmapdata_gl_p.h')
-rw-r--r--src/opengl/qpixmapdata_gl_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qpixmapdata_gl_p.h b/src/opengl/qpixmapdata_gl_p.h
index 6190d38e7a..8a13e03118 100644
--- a/src/opengl/qpixmapdata_gl_p.h
+++ b/src/opengl/qpixmapdata_gl_p.h
@@ -69,7 +69,7 @@ class QGLPixmapData;
class QGLFramebufferObjectPool
{
public:
- QGLFramebufferObject *acquire(const QSize &size, const QGLFramebufferObjectFormat &format);
+ QGLFramebufferObject *acquire(const QSize &size, const QGLFramebufferObjectFormat &format, bool strictSize = false);
void release(QGLFramebufferObject *fbo);
private: