summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/framegraph-components/qclearbuffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/framegraph-components/qclearbuffer.h')
-rw-r--r--src/render/frontend/framegraph-components/qclearbuffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/frontend/framegraph-components/qclearbuffer.h b/src/render/frontend/framegraph-components/qclearbuffer.h
index 8e6991577..1559511d3 100644
--- a/src/render/frontend/framegraph-components/qclearbuffer.h
+++ b/src/render/frontend/framegraph-components/qclearbuffer.h
@@ -48,7 +48,6 @@ class QClearBufferPrivate;
class QT3DRENDERERSHARED_EXPORT QClearBuffer : public QFrameGraphNode
{
Q_OBJECT
- Q_ENUMS(BufferType)
Q_PROPERTY(BufferType buffers READ buffers WRITE setBuffers NOTIFY buffersChanged)
public:
explicit QClearBuffer(QNode *parent = 0);
@@ -63,6 +62,7 @@ public:
ColorDepthStencilBuffer = ColorBuffer | DepthStencilBuffer,
AllBuffers = 0xFFFFFFFF
};
+ Q_ENUM(BufferType)
void setBuffers(BufferType buffers);
BufferType buffers() const;