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>
This commit is contained in:
Jørgen 2012-01-02 10:20:14 +01:00 committed by Qt by Nokia
parent a4533b4503
commit 7929a910c4
1 changed files with 1 additions and 1 deletions

View File

@ -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);