mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 00:04:18 +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;
|
||||
|
||||
const QString OculusLegacyDisplayPlugin::NAME("Oculus Rift (0.5) (Simulated)");
|
||||
const QString OculusLegacyDisplayPlugin::GROUPING("Standard");
|
||||
|
||||
const QString & OculusLegacyDisplayPlugin::getName() const {
|
||||
return NAME;
|
||||
}
|
||||
|
||||
OculusLegacyDisplayPlugin::OculusLegacyDisplayPlugin() {
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue