From d8ced32879101b636f2248ef9f2543ff8f9f02f7 Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Fri, 8 Jan 2016 21:37:00 -0800 Subject: [PATCH] fix mac/unix build buster --- plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.cpp | 4 +--- plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.h | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.cpp b/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.cpp index f0f200fe1a..f6e6055d84 100644 --- a/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.cpp +++ b/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.cpp @@ -27,10 +27,8 @@ using namespace oglplus; const QString OculusLegacyDisplayPlugin::NAME("Oculus Rift (0.5) (Simulated)"); +const QString OculusLegacyDisplayPlugin::GROUPING("Standard"); -const QString & OculusLegacyDisplayPlugin::getName() const { - return NAME; -} OculusLegacyDisplayPlugin::OculusLegacyDisplayPlugin() { } diff --git a/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.h b/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.h index cd1177b581..603bdac507 100644 --- a/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.h +++ b/plugins/oculusLegacy/src/OculusLegacyDisplayPlugin.h @@ -19,7 +19,8 @@ class OculusLegacyDisplayPlugin : public WindowOpenGLDisplayPlugin { public: OculusLegacyDisplayPlugin(); virtual bool isSupported() const override; - virtual const QString & getName() const override; + virtual const QString& getName() const override { return NAME; } + virtual const QString& getGrouping() const override { return GROUPING; } virtual void activate() override; virtual void deactivate() override; @@ -46,6 +47,7 @@ protected: private: static const QString NAME; + static const QString GROUPING; ovrHmd _hmd; mutable ovrTrackingState _trackingState;