summaryrefslogtreecommitdiffstats
path: root/tests/auto/render/opengl/textures/tst_textures.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/render/opengl/textures/tst_textures.cpp')
-rw-r--r--tests/auto/render/opengl/textures/tst_textures.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/render/opengl/textures/tst_textures.cpp b/tests/auto/render/opengl/textures/tst_textures.cpp
index 5fb00f23d..c9504cbbf 100644
--- a/tests/auto/render/opengl/textures/tst_textures.cpp
+++ b/tests/auto/render/opengl/textures/tst_textures.cpp
@@ -62,7 +62,7 @@ public:
}
bool operator ==(const Qt3DRender::QTextureImageDataGenerator &other) const override {
- const TestImageDataGenerator *otherFunctor = Qt3DRender::functor_cast<TestImageDataGenerator>(&other);
+ const TestImageDataGenerator *otherFunctor = Qt3DCore::functor_cast<TestImageDataGenerator>(&other);
return (otherFunctor != nullptr && otherFunctor->m_id == m_id);
}
@@ -83,7 +83,7 @@ public:
}
bool operator ==(const Qt3DRender::QTextureGenerator &other) const override {
- const TestTextureGenerator *otherFunctor = Qt3DRender::functor_cast<TestTextureGenerator>(&other);
+ const TestTextureGenerator *otherFunctor = Qt3DCore::functor_cast<TestTextureGenerator>(&other);
return (otherFunctor != nullptr && otherFunctor->m_id == m_id);
}