mirror of
https://github.com/overte-org/overte.git
synced 2025-04-07 02:12:53 +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" };
|
||||
|
||||
OculusAPIPlugin::OculusAPIPlugin() {
|
||||
_session = hifi::ovr::acquireRenderSession();
|
||||
}
|
||||
|
||||
OculusAPIPlugin::~OculusAPIPlugin() {
|
||||
hifi::ovr::releaseRenderSession(_session);
|
||||
}
|
||||
|
||||
bool OculusAPIPlugin::isRunning() {
|
||||
|
|
|
@ -34,5 +34,4 @@ private:
|
|||
bool _nonceChanged{ false };
|
||||
QString _user;
|
||||
ovrID _userID;
|
||||
ovrSession _session{ nullptr };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue