diff options
author | Sven Gothel <[email protected]> | 2015-07-15 21:12:04 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-07-15 21:12:04 +0200 |
commit | 1f262ca2dbe00ba761e9b91994e93fee65d6efc1 (patch) | |
tree | 55c5b013ac5dd5e1edee5cc1ed09739a914de3e0 /LibOVR/Src/CAPI/CAPI_HMDState.cpp | |
parent | a352ecb7e63304034ac93332cf0c4d9183df867e (diff) |
Fix build for Windows/MingW64 ...
Diffstat (limited to 'LibOVR/Src/CAPI/CAPI_HMDState.cpp')
-rwxr-xr-x | LibOVR/Src/CAPI/CAPI_HMDState.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LibOVR/Src/CAPI/CAPI_HMDState.cpp b/LibOVR/Src/CAPI/CAPI_HMDState.cpp index fede019..375fff9 100755 --- a/LibOVR/Src/CAPI/CAPI_HMDState.cpp +++ b/LibOVR/Src/CAPI/CAPI_HMDState.cpp @@ -371,10 +371,12 @@ ovrTrackingState HMDState::PredictedTrackingState(double absTime, void*) ss.StatusFlags = 0; } +#if !defined(HEADLESS_APP) #ifdef OVR_OS_WIN32 // Set up display code for Windows Win32::DisplayShim::GetInstance().Active = (ss.StatusFlags & ovrStatus_HmdConnected) != 0; #endif +#endif /* !defined(HEADLESS_APP) */ return ss; |