summaryrefslogtreecommitdiffstats
path: root/src/render/materialsystem/shader_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/materialsystem/shader_p.h')
-rw-r--r--src/render/materialsystem/shader_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/materialsystem/shader_p.h b/src/render/materialsystem/shader_p.h
index 9b666aa35..88694fd98 100644
--- a/src/render/materialsystem/shader_p.h
+++ b/src/render/materialsystem/shader_p.h
@@ -51,6 +51,7 @@
// We mean it.
//
+#include <QMutex>
#include <QVector>
#include <Qt3DRender/private/quniformvalue_p.h>
#include <Qt3DRender/private/shadervariables_p.h>
@@ -59,7 +60,6 @@
QT_BEGIN_NAMESPACE
class QOpenGLShaderProgram;
-class QMutex;
namespace Qt3DRender {
@@ -131,7 +131,7 @@ private:
bool m_isLoaded;
ProgramDNA m_dna;
- QMutex *m_mutex;
+ QMutex m_mutex;
void updateDNA();