wrap sixenseExit call in HAVE_SIXENSE ifdef

This commit is contained in:
Stephen Birarda 2014-09-29 13:09:25 -07:00
parent db0bfd53ae
commit 1f4c0b6340

View file

@ -63,6 +63,7 @@ SixenseManager::SixenseManager() :
}
SixenseManager::~SixenseManager() {
#ifdef HAVE_SIXENSE_
if (_isInitialized) {
#ifdef __APPLE__
@ -75,6 +76,8 @@ SixenseManager::~SixenseManager() {
#ifdef __APPLE__
delete _sixenseLibrary;
#endif
#endif
}
void SixenseManager::initialize() {