Forum Discussion
dee
10 years agoHonored Guest
wglDXRegisterObjectNV failed
Hello, what could be wrong with this sequence? ovrHmd_CreateDebug start my renderer (create opengl context) ovrHmd_CreateSwapTextureSetGL 2x ovrHmd_CreateMirrorTextureGL rendering without pr...
dee
10 years agoHonored Guest
It works with inserted code in bold:
ovrHmd_Create
start my renderer (create opengl context)
ovrHmd_CreateSwapTextureSetGL 2x
rendering without problems...
ovrHmd_DestroySwapTextureSet 2x
close my renderer (delete opengl context)
ovrHmd_Destroy
ovrHmd_Create
start my renderer (create new opengl context in the same window)
ovrHmd_CreateSwapTextureSetGL <--------- works
But it's slower and if ovrHmd_Create fails and I call ovrHmd_CreateDebug instead, it always fails on second ovrHmd_CreateDebug.
ovrHmd_Create
start my renderer (create opengl context)
ovrHmd_CreateSwapTextureSetGL 2x
rendering without problems...
ovrHmd_DestroySwapTextureSet 2x
close my renderer (delete opengl context)
ovrHmd_Destroy
ovrHmd_Create
start my renderer (create new opengl context in the same window)
ovrHmd_CreateSwapTextureSetGL <--------- works
But it's slower and if ovrHmd_Create fails and I call ovrHmd_CreateDebug instead, it always fails on second ovrHmd_CreateDebug.
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
- 3 years ago
- 4 years ago