fix mac/unix build buster

This commit is contained in:
Brad Hefta-Gaub 2016-01-08 21:37:00 -08:00
parent e2a3903def
commit d8ced32879
2 changed files with 4 additions and 4 deletions

View file

@ -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() {
}

View file

@ -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;