Forum Discussion
SpaceEngineer
8 years agoExplorer
ovr_CreateTextureSwapChainGL() failed
So every tine I attempt to create the swap chains, I got the error code ovrError_InvalidParameter == -1005 with the following message returned by ovr_GetLastErrorInfo(): BindFlags not supported for O...
BobasaurusRex
8 years agoHonored Guest
I'm also having a problem with ovr_CreateTextureSwapChainGL. I'm not sure its the same issue. I'm getting a crash deep in the call:
0000000000000000() Unknown
LibOVRRT64_1.dll!00007ffee270ae67() Unknown
LibOVRRT64_1.dll!00007ffee2706715() Unknown
LibOVRRT64_1.dll!00007ffee26f8d38() Unknown
LibOVRRT64_1.dll!00007ffee2668162() Unknown
LibOVRRT64_1.dll!00007ffee2676482() Unknown
> vrvVirtualReality.dll!makVrv::DtOculusProvider::initializeSwapChains() Line 398 C++ <--I call ovr_CreateTextureSwapChainGL here
This is with a new nvidia driver (398.82, happend before I updated my driver as well), I know my GL context has been created. I've tried padding out the descriptor memory to 64 bytes. Descriptor shows as being 40 bytes in size in my application.
Here's how I'm setting up my descriptor:
This is with a new nvidia driver (398.82, happend before I updated my driver as well), I know my GL context has been created. I've tried padding out the descriptor memory to 64 bytes. Descriptor shows as being 40 bytes in size in my application.
Here's how I'm setting up my descriptor:
ovrTextureSwapChainDesc desc;
desc.Type = ovrTexture_2D;
desc.ArraySize = 1;
desc.Format = OVR_FORMAT_R8G8B8A8_UNORM;
desc.Width = myWidth;
desc.Height = myHeight;
desc.MipLevels = 1;
desc.SampleCount = 1;
desc.StaticImage = ovrFalse;
desc.BindFlags = 0;
desc.MiscFlags = 0;
ovrResult result = ovr_CreateTextureSwapChainGL(mySession, &desc, &mySwapChains);
I'm at a loss as to what to try next. Any suggestions?
Cheers,
Bob
I'm at a loss as to what to try next. Any suggestions?
Cheers,
Bob
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
- 11 months ago