diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-04-20 12:23:48 +0200 |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-04-20 12:23:48 +0200 |
commit | 4b4d4b3d7ae4ad019963d957831c46daacba62f7 (patch) | |
tree | 541d078fc2c5ee9ee3dbe99c310e9d96efd9e89e /src/opengl/qpixmapdata_gl_p.h | |
parent | 8027a669e31d2fc96f9ffdfc0771034571dd583e (diff) | |
download | qt4-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.h | 2 |
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; |