summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qopenglfilter.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/qopenglfilter.h')
-rw-r--r--src/render/frontend/qopenglfilter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/frontend/qopenglfilter.h b/src/render/frontend/qopenglfilter.h
index 313ce497a..c648d2b73 100644
--- a/src/render/frontend/qopenglfilter.h
+++ b/src/render/frontend/qopenglfilter.h
@@ -51,8 +51,6 @@ class QOpenGLFilterPrivate;
class QT3DRENDERERSHARED_EXPORT QOpenGLFilter : public QObject
{
Q_OBJECT
- Q_ENUMS(Api)
- Q_ENUMS(Profile)
Q_PROPERTY(Qt3D::QOpenGLFilter::Api api READ api WRITE setApi NOTIFY apiChanged)
Q_PROPERTY(Qt3D::QOpenGLFilter::Profile profile READ profile WRITE setProfile NOTIFY profileChanged)
Q_PROPERTY(int minorVersion READ minorVersion WRITE setMinorVersion NOTIFY minorVersionChanged)
@@ -67,6 +65,7 @@ public:
ES = QSurfaceFormat::OpenGLES,
Desktop = QSurfaceFormat::OpenGL
};
+ Q_ENUM(Api)
enum Profile
{
@@ -74,6 +73,7 @@ public:
Core = QSurfaceFormat::CoreProfile,
Compatibility = QSurfaceFormat::CompatibilityProfile
};
+ Q_ENUM(Profile)
explicit QOpenGLFilter(QObject *parent = 0);