|
|
@ -75,7 +75,7 @@ const char *IStereoDisplay::getLibraryName(CStereoDeviceInfo::TStereoDeviceLibra
|
|
|
|
|
|
|
|
|
|
|
|
void IStereoDisplay::listDevices(std::vector<CStereoDeviceInfo> &devicesOut)
|
|
|
|
void IStereoDisplay::listDevices(std::vector<CStereoDeviceInfo> &devicesOut)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#ifdef WITH_LIBOVR
|
|
|
|
#ifdef HAVE_LIBOVR
|
|
|
|
CStereoOVR::listDevices(devicesOut);
|
|
|
|
CStereoOVR::listDevices(devicesOut);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#if !FINAL_VERSION
|
|
|
|
#if !FINAL_VERSION
|
|
|
@ -90,7 +90,7 @@ IStereoDisplay *IStereoDisplay::createDevice(const CStereoDeviceInfo &deviceInfo
|
|
|
|
|
|
|
|
|
|
|
|
void IStereoDisplay::releaseUnusedLibraries()
|
|
|
|
void IStereoDisplay::releaseUnusedLibraries()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#ifdef WITH_LIBOVR
|
|
|
|
#ifdef HAVE_LIBOVR
|
|
|
|
if (!CStereoOVR::isLibraryInUse())
|
|
|
|
if (!CStereoOVR::isLibraryInUse())
|
|
|
|
CStereoOVR::releaseLibrary();
|
|
|
|
CStereoOVR::releaseLibrary();
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
@ -98,7 +98,7 @@ void IStereoDisplay::releaseUnusedLibraries()
|
|
|
|
|
|
|
|
|
|
|
|
void IStereoDisplay::releaseAllLibraries()
|
|
|
|
void IStereoDisplay::releaseAllLibraries()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#ifdef WITH_LIBOVR
|
|
|
|
#ifdef HAVE_LIBOVR
|
|
|
|
CStereoOVR::releaseLibrary();
|
|
|
|
CStereoOVR::releaseLibrary();
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
}
|
|
|
|