diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2016-08-05 12:51:56 +0200 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-11-14 13:55:58 +0000 |
commit | b2b31d4ee04e92cb41cb8249bb5f440fb321be0c (patch) | |
tree | 0cee751bd009f8d90c08734fffd451e51da1b699 /src/render/texture/textureimage.cpp | |
parent | 338af9c0ff9f3fa3c0d5965b07fe6b7dcec2a93d (diff) |
Texture: further refactoring
Remove deep coupling between Texture and GLTexture
The renderer is the only link between the two which should
allow to reuse Texture with various renderers.
Change-Id: I01e0a119744b9ec589c7b45d2ff482a70ea53d3b
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/texture/textureimage.cpp')
-rw-r--r-- | src/render/texture/textureimage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/texture/textureimage.cpp b/src/render/texture/textureimage.cpp index 91eb288f2..f44a82649 100644 --- a/src/render/texture/textureimage.cpp +++ b/src/render/texture/textureimage.cpp @@ -106,7 +106,7 @@ void TextureImage::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) // Notify the Texture that we were updated and request it to schedule an update job Texture *txt = m_textureManager->data(m_textureProvider); if (txt != nullptr) - txt->addDirtyFlag(Texture::Generators); + txt->addDirtyFlag(Texture::DirtyGenerators); } markDirty(AbstractRenderer::AllDirty); |