Skip to main content
New Participant
November 17, 2017

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

2 replies

New Participant
November 20, 2017
Hi,

Thank you very much for your response.
I've attached the wrapper source code. It crashes each time on line 87 although the current OpenGL context is valid

I'd appreciate any help on this.
New Participant
November 22, 2017
@imperativity

Thank you very much for forwarding this. We appreciate it a lot!