mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-24 16:16:14 +00:00
Cleanup
This commit is contained in:
parent
0835833c9e
commit
6fc54b3ed1
2 changed files with 6 additions and 6 deletions
|
@ -41,8 +41,8 @@
|
||||||
* so, delete this exception statement from your version.
|
* so, delete this exception statement from your version.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef NL3D_STEREO_OVR_H
|
#ifndef NL3D_STEREO_OVR_04_H
|
||||||
#define NL3D_STEREO_OVR_H
|
#define NL3D_STEREO_OVR_04_H
|
||||||
|
|
||||||
#ifdef HAVE_LIBOVR
|
#ifdef HAVE_LIBOVR
|
||||||
|
|
||||||
|
@ -180,6 +180,6 @@ private:
|
||||||
|
|
||||||
#endif /* HAVE_LIBOVR */
|
#endif /* HAVE_LIBOVR */
|
||||||
|
|
||||||
#endif /* #ifndef NL3D_STEREO_OVR_H */
|
#endif /* #ifndef NL3D_STEREO_OVR_04_H */
|
||||||
|
|
||||||
/* end of file */
|
/* end of file */
|
||||||
|
|
|
@ -77,7 +77,7 @@ const char *IStereoDisplay::getLibraryName(CStereoDeviceInfo::TStereoDeviceLibra
|
||||||
|
|
||||||
void IStereoDisplay::listDevices(std::vector<CStereoDeviceInfo> &devicesOut)
|
void IStereoDisplay::listDevices(std::vector<CStereoDeviceInfo> &devicesOut)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LIBOVR_02
|
#ifdef HAVE_LIBOVR
|
||||||
CStereoOVR::listDevices(devicesOut);
|
CStereoOVR::listDevices(devicesOut);
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_LIBVR
|
#ifdef HAVE_LIBVR
|
||||||
|
@ -95,7 +95,7 @@ IStereoDisplay *IStereoDisplay::createDevice(const CStereoDeviceInfo &deviceInfo
|
||||||
|
|
||||||
void IStereoDisplay::releaseUnusedLibraries()
|
void IStereoDisplay::releaseUnusedLibraries()
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LIBOVR_02
|
#ifdef HAVE_LIBOVR
|
||||||
if (!CStereoOVR::isLibraryInUse())
|
if (!CStereoOVR::isLibraryInUse())
|
||||||
CStereoOVR::releaseLibrary();
|
CStereoOVR::releaseLibrary();
|
||||||
#endif
|
#endif
|
||||||
|
@ -103,7 +103,7 @@ void IStereoDisplay::releaseUnusedLibraries()
|
||||||
|
|
||||||
void IStereoDisplay::releaseAllLibraries()
|
void IStereoDisplay::releaseAllLibraries()
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LIBOVR_02
|
#ifdef HAVE_LIBOVR
|
||||||
CStereoOVR::releaseLibrary();
|
CStereoOVR::releaseLibrary();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue