Forum Discussion
deftware
8 years agoExpert Protege
Rift not displaying my swapchain textures?
I've been hacking together a bare-minimum LibOVR test program to get my bearings with the API and see what works and what doesn't, and so far everything works fine: creating a session, querying the...
- 8 years agoI posted more details about ovr_GetRenderDesc excluding the quaternion orientation with a v1.22 session here: https://forums.oculusvr.com/developer/discussion/61579/calling-ovr-getrenderdesc-directly-from-1-22-libovr-runttime-incongruous-with-1-17-changes#latest
- 8 years agoHi @deftware, we version the export names in our runtime dll in order to maintain backward compatibility. We provide the LibOVR.lib shim library which loads the correct symbol versions for you, you can either static-link that into your code or compile OVR_CAPIShim.c into your executable directly (we provide the full shim source code in the SDK).
eah
8 years agoProtege
@deftware The shim is the fixed API that you compile into your code, if we rev an API in a way that requires only a recompile (e.g. adding more fields to a struct) we'd like to avoid having to get every app to change the API calls, so we bump the version number in the export name in our DLL and map the old name to the new DLL entry behind the scenes with the shim. Note we can't change the old name in the DLL since it still has to provide backwards-compatibility for old apps.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 months ago
- 1 year ago