Forum Discussion
wolftousen
12 years agoHonored Guest
Problem with Direct HMD render OpenGL
I just got my rift the other day and wanted to get straight to playing around by converting some of my demos in C to work with it. Instead of using the sdk source directly in my projects I found th...
wolftousen
12 years agoHonored Guest
Right, I managed to find that thread yesterday, thanks though. Glad i didn't spent a horrible amount of time on it.
I only modified the SDK b/c it kept crashing on the end frame call. When it was calling wglGetProcAddress (somewhere in the sdk code) inside the SDK code it was trying to get the functions with the EXT at the end and it was getting null. I noticed that when it did this it was trying to retrieve the proc addresses from the ovr version (ovr dll or something) instead of the nvidia version (nv...dll) of the function. As soon as I removed the EXT it started picking up the nvidia function just fine and stopped crashing.
The SDK was also trying to put the EXT version of the function into a non EXT version of the pointer type, which in the end shouldn't cause an issue since they have the same profile generall (or always), but was just troubling to see that.
I know a few other people here have reported a similar issue, but i haven't seen a solution in my skimming. But if this gives anyone insights as to why direct mode doesn't work, kudos.
I only modified the SDK b/c it kept crashing on the end frame call. When it was calling wglGetProcAddress (somewhere in the sdk code) inside the SDK code it was trying to get the functions with the EXT at the end and it was getting null. I noticed that when it did this it was trying to retrieve the proc addresses from the ovr version (ovr dll or something) instead of the nvidia version (nv...dll) of the function. As soon as I removed the EXT it started picking up the nvidia function just fine and stopped crashing.
The SDK was also trying to put the EXT version of the function into a non EXT version of the pointer type, which in the end shouldn't cause an issue since they have the same profile generall (or always), but was just troubling to see that.
I know a few other people here have reported a similar issue, but i haven't seen a solution in my skimming. But if this gives anyone insights as to why direct mode doesn't work, kudos.
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
- 2 years ago
- 2 years ago
- 8 months ago
- 3 years ago
- 7 months ago