summaryrefslogtreecommitdiffstats
path: root/src/opengl/qpixmapdata_gl_p.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-04-20 10:23:48 (GMT)
committerSamuel Rødal <sroedal@trolltech.com>2009-04-20 10:23:48 (GMT)
commit4b4d4b3d7ae4ad019963d957831c46daacba62f7 (patch)
tree541d078fc2c5ee9ee3dbe99c310e9d96efd9e89e /src/opengl/qpixmapdata_gl_p.h
parent8027a669e31d2fc96f9ffdfc0771034571dd583e (diff)
downloadQt-4b4d4b3d7ae4ad019963d957831c46daacba62f7.zip
Qt-4b4d4b3d7ae4ad019963d957831c46daacba62f7.tar.gz
Qt-4b4d4b3d7ae4ad019963d957831c46daacba62f7.tar.bz2
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 7dda653..536f33d 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;