mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 14:23:02 +01:00
Support Oculus SDK versions through 0.5.0.1-beta
Tested against the following SDKs: - 0.5.0-beta - 0.4.4-beta - 0.4.3-beta - 0.4.2-beta - 0.4.1-beta - 0.4.0-beta
This commit is contained in:
@@ -123,7 +123,9 @@ namespace bgfx
|
||||
result = ovrHmd_ConfigureRendering(m_hmd
|
||||
, _config
|
||||
, 0
|
||||
| ovrDistortionCap_Chromatic
|
||||
#if OVR_VERSION < OVR_VERSION_050
|
||||
| ovrDistortionCap_Chromatic // permanently enabled >= v5.0
|
||||
#endif
|
||||
| ovrDistortionCap_Vignette
|
||||
| ovrDistortionCap_TimeWarp
|
||||
| ovrDistortionCap_Overdrive
|
||||
|
||||
Reference in New Issue
Block a user