mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 06:18:52 +02:00
fix mac/unix build buster
This commit is contained in:
parent
e2a3903def
commit
d8ced32879
2 changed files with 4 additions and 4 deletions
|
@ -27,10 +27,8 @@
|
||||||
using namespace oglplus;
|
using namespace oglplus;
|
||||||
|
|
||||||
const QString OculusLegacyDisplayPlugin::NAME("Oculus Rift (0.5) (Simulated)");
|
const QString OculusLegacyDisplayPlugin::NAME("Oculus Rift (0.5) (Simulated)");
|
||||||
|
const QString OculusLegacyDisplayPlugin::GROUPING("Standard");
|
||||||
|
|
||||||
const QString & OculusLegacyDisplayPlugin::getName() const {
|
|
||||||
return NAME;
|
|
||||||
}
|
|
||||||
|
|
||||||
OculusLegacyDisplayPlugin::OculusLegacyDisplayPlugin() {
|
OculusLegacyDisplayPlugin::OculusLegacyDisplayPlugin() {
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,8 @@ class OculusLegacyDisplayPlugin : public WindowOpenGLDisplayPlugin {
|
||||||
public:
|
public:
|
||||||
OculusLegacyDisplayPlugin();
|
OculusLegacyDisplayPlugin();
|
||||||
virtual bool isSupported() const override;
|
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 activate() override;
|
||||||
virtual void deactivate() override;
|
virtual void deactivate() override;
|
||||||
|
@ -46,6 +47,7 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static const QString NAME;
|
static const QString NAME;
|
||||||
|
static const QString GROUPING;
|
||||||
|
|
||||||
ovrHmd _hmd;
|
ovrHmd _hmd;
|
||||||
mutable ovrTrackingState _trackingState;
|
mutable ovrTrackingState _trackingState;
|
||||||
|
|
Loading…
Reference in a new issue