mirror of
https://github.com/overte-org/overte.git
synced 2025-04-12 14:42:11 +02:00
dont setup another oculus session
This commit is contained in:
parent
4d61a65bbf
commit
1ae2ddd926
2 changed files with 0 additions and 3 deletions
|
@ -17,11 +17,9 @@
|
||||||
const char* OculusAPIPlugin::NAME { "Oculus Rift" };
|
const char* OculusAPIPlugin::NAME { "Oculus Rift" };
|
||||||
|
|
||||||
OculusAPIPlugin::OculusAPIPlugin() {
|
OculusAPIPlugin::OculusAPIPlugin() {
|
||||||
_session = hifi::ovr::acquireRenderSession();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
OculusAPIPlugin::~OculusAPIPlugin() {
|
OculusAPIPlugin::~OculusAPIPlugin() {
|
||||||
hifi::ovr::releaseRenderSession(_session);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
bool OculusAPIPlugin::isRunning() {
|
bool OculusAPIPlugin::isRunning() {
|
||||||
|
|
|
@ -34,5 +34,4 @@ private:
|
||||||
bool _nonceChanged{ false };
|
bool _nonceChanged{ false };
|
||||||
QString _user;
|
QString _user;
|
||||||
ovrID _userID;
|
ovrID _userID;
|
||||||
ovrSession _session{ nullptr };
|
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue