summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJørgen <jorgen.lind@nokia.com>2012-01-02 10:20:14 +0100
committerQt by Nokia <qt-info@nokia.com>2012-01-04 08:00:28 +0100
commit7929a910c49736bd8fd74763a5765bec078a3142 (patch)
treece5a777869957d9e35b808ab47f8e1f9150de6a9 /src
parenta4533b450378cc8910f6491286087207dd097875 (diff)
Export QOpenGLTextureCache
because it can be useful outside QtGui. The function QOpenGLTextureCache::bindTexture gives a very convenient way to get a texture from an image. Change-Id: I2e22c0a3a8f1f307d0b558280043f726e3d8093a Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/opengl/qopengltexturecache_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopengltexturecache_p.h b/src/gui/opengl/qopengltexturecache_p.h
index bdee9f4e83..74166cbabc 100644
--- a/src/gui/opengl/qopengltexturecache_p.h
+++ b/src/gui/opengl/qopengltexturecache_p.h
@@ -73,7 +73,7 @@ private:
QOpenGLSharedResourceGuard *m_resource;
};
-class QOpenGLTextureCache : public QOpenGLSharedResource
+class Q_GUI_EXPORT QOpenGLTextureCache : public QOpenGLSharedResource
{
public:
static QOpenGLTextureCache *cacheForContext(QOpenGLContext *context);