diff options
author | Wieland Hagen <wieland.hagen@kdab.com> | 2016-04-07 18:36:49 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-04-07 20:33:29 +0000 |
commit | 2c7b9d90cc7fa1c471bd5a325d1b010314c498cf (patch) | |
tree | 588efbd5e484ac4ac8845d15822b5b3b80a45af9 /src/render/texture/qabstracttexture_p.h | |
parent | 17946500aa9bc22becf3612aead65614fafd5819 (diff) |
QAbstractTexture: Remove unique property
Instead, automatically reason about unique-ness of texture based on
texture data. This should make exactly those textures unique, that
don't have any image data associated with them.
Task-number: QTBUG-51507
Change-Id: I172ac1d52a46ef8ccf3122d5a8acbdf54296da0f
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/texture/qabstracttexture_p.h')
-rw-r--r-- | src/render/texture/qabstracttexture_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/render/texture/qabstracttexture_p.h b/src/render/texture/qabstracttexture_p.h index 079629873..39ee6622b 100644 --- a/src/render/texture/qabstracttexture_p.h +++ b/src/render/texture/qabstracttexture_p.h @@ -83,7 +83,6 @@ public : QAbstractTexture::ComparisonMode m_comparisonMode; QList<QAbstractTextureImage *> m_textureImages; int m_layers; - bool m_unique; QTextureImageDataGeneratorPtr m_dataFunctor; }; |