summaryrefslogtreecommitdiffstats
path: root/src/render/materialsystem/shaderdata_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/materialsystem/shaderdata_p.h')
-rw-r--r--src/render/materialsystem/shaderdata_p.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/render/materialsystem/shaderdata_p.h b/src/render/materialsystem/shaderdata_p.h
index c9cc22939..5c6352eba 100644
--- a/src/render/materialsystem/shaderdata_p.h
+++ b/src/render/materialsystem/shaderdata_p.h
@@ -52,7 +52,6 @@
//
#include <Qt3DRender/private/backendnode_p.h>
-#include <Qt3DRender/private/shadervariables_p.h>
#include <Qt3DRender/qshaderdata.h>
#include <QMutex>
#include <Qt3DCore/private/matrix4x4_p.h>
@@ -67,7 +66,7 @@ class GraphicsContext;
class GLBuffer;
class NodeManagers;
-class Q_AUTOTEST_EXPORT ShaderData : public BackendNode
+class Q_3DRENDERSHARED_PRIVATE_EXPORT ShaderData : public BackendNode
{
public:
enum TransformType {
@@ -95,13 +94,15 @@ public:
// Unit tests purposes only
TransformType propertyTransformType(const QString &name) const;
- // Called by FrameCleanupJob
- static void cleanup(NodeManagers *managers);
-
void setManagers(NodeManagers *managers);
void syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime) override;
+#ifdef Q_OS_WIN
+ // To get MSVC to compile even though we don't need any cleanup
+ void cleanup() {}
+#endif
+
protected:
PropertyReaderInterfacePtr m_propertyReader;