summaryrefslogtreecommitdiff
path: root/src/opengl/qpixmapdata_gl_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-04-20 12:23:48 +0200
committerSamuel Rødal <sroedal@trolltech.com>2009-04-20 12:23:48 +0200
commit4b4d4b3d7ae4ad019963d957831c46daacba62f7 (patch)
tree541d078fc2c5ee9ee3dbe99c310e9d96efd9e89e /src/opengl/qpixmapdata_gl_p.h
parent8027a669e31d2fc96f9ffdfc0771034571dd583e (diff)
downloadqt4-tools-4b4d4b3d7ae4ad019963d957831c46daacba62f7.tar.gz
Prevent copy back from FBO when initializing render FBO from texture.
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 7dda653235..536f33dc63 100644
--- a/src/opengl/qpixmapdata_gl_p.h
+++ b/src/opengl/qpixmapdata_gl_p.h
@@ -82,7 +82,7 @@ public:
QImage toImage() const;
QPaintEngine* paintEngine() const;
- GLuint bind() const;
+ GLuint bind(bool copyBack = true) const;
GLuint textureId() const;
bool isValidContext(const QGLContext *ctx) const;