Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Kermit3966's avatar
Kermit3966
Honored Guest
9 years ago

ovr_CreateTextureSwapChainGL crash with Qt on Windows

Hello folks!

I'm currently trying to write a Qt wrapper class for the Oculus Rift. So far, everything went extremely smoothly. However, now I'm hitting a problem where the call to ovr_CreateTextureSwapChainGL() crashes. I did initialize OpenGL and I set the current context but the call to that function keeps crashing the application.

Is there anything I need to do other than initializing OpenGL and setting a valid context?

Here is my very small wrapper class:

I'm using OculusSDK v1.19