diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-04 03:35:15 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-06-04 03:35:15 (GMT) |
commit | a276e872e83e0c2f04a367299580ef787b6efc51 (patch) | |
tree | 3bb71c20fb6d18c180b6c07fa8bc0326a68acb23 /src/declarative/fx/qfxrect_p.h | |
parent | f7cf2cdc0b6c83a639d155987f871f7932c1d845 (diff) | |
download | Qt-a276e872e83e0c2f04a367299580ef787b6efc51.zip Qt-a276e872e83e0c2f04a367299580ef787b6efc51.tar.gz Qt-a276e872e83e0c2f04a367299580ef787b6efc51.tar.bz2 |
Share GL textures where possible
Diffstat (limited to 'src/declarative/fx/qfxrect_p.h')
-rw-r--r-- | src/declarative/fx/qfxrect_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/fx/qfxrect_p.h b/src/declarative/fx/qfxrect_p.h index 6d11917..d68eb4e 100644 --- a/src/declarative/fx/qfxrect_p.h +++ b/src/declarative/fx/qfxrect_p.h @@ -69,7 +69,7 @@ class QFxRectPrivate : public QFxItemPrivate public: QFxRectPrivate() - : gradient(0), pen(0), radius(0) + : rectTexture(0), gradient(0), pen(0), radius(0) { } @@ -83,7 +83,7 @@ public: } #if defined(QFX_RENDER_OPENGL) - GLTexture rectTexture; + QSimpleCanvasItem::CachedTexture *rectTexture; #endif QColor getColor(); QColor color; |