diff options
author | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-22 13:21:23 (GMT) |
---|---|---|
committer | Tom Cooksey <thomas.cooksey@nokia.com> | 2010-03-26 12:32:54 (GMT) |
commit | 7488aa544bdfccc0131427669266a93c44501c42 (patch) | |
tree | 21914ebef2a397d19f7bcf6f8bc981602dc833d5 /src/opengl/qgl_p.h | |
parent | 75bb84ac0e6f17446d87a34ae8a644abff6009af (diff) | |
download | Qt-7488aa544bdfccc0131427669266a93c44501c42.zip Qt-7488aa544bdfccc0131427669266a93c44501c42.tar.gz Qt-7488aa544bdfccc0131427669266a93c44501c42.tar.bz2 |
Avoid having to create temporary QPixmaps when binding to texture
Reviewed-By: TrustMe
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r-- | src/opengl/qgl_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h index 45f8f30..1169533 100644 --- a/src/opengl/qgl_p.h +++ b/src/opengl/qgl_p.h @@ -361,7 +361,7 @@ public: quint32 gpm; int screen; QHash<QPixmapData*, QPixmap> boundPixmaps; - QGLTexture *bindTextureFromNativePixmap(QPixmapData*, const qint64 key, + QGLTexture *bindTextureFromNativePixmap(QPixmap*, const qint64 key, QGLContext::BindOptions options); static void destroyGlSurfaceForPixmap(QPixmapData*); static void unbindPixmapFromTexture(QPixmapData*); |