free resources on app destruction
This commit is contained in:
@@ -34,6 +34,8 @@ bool Vive::Initialize()
|
||||
void Vive::Terminate()
|
||||
{
|
||||
vr::VR_Shutdown();
|
||||
for (int eye = 0; eye < 2; ++eye)
|
||||
m_eyes[eye].destroy();
|
||||
}
|
||||
|
||||
void Vive::Update()
|
||||
|
||||
Reference in New Issue
Block a user