-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GL_INVALID_OPERATION when binding VAO when creating own framebuffer #3361
Comments
You're using window handle that's already used for primary window... |
I removed the nwh assignment in the init so it's headless isn't it? |
Alright I thought headless OpenGL was supported because I didn't get an error when I didn't pass in the nwh. I didn't realize it was getting the window handle somehow. I created an offscreen window that I pass into init.nwh and that seems to work. |
OK I've been playing around with this some more. I created on offscreen window to set as the initial nwh. Then later create a frame buffer for the window I actually want to render to. This still crashes when binding to the VAO. I edited the example above, this should work right? |
Instead of passing a window handle to bgfx::init I'm creating my own frame buffer for a window handle. This triggers a GL_INVALID_OPERATION.
Running this on Ubuntu 24.04
To Reproduce
I've edited the Hello World example to trigger the GL_INVALID_OPERATION.
Additional context
OpenGL core profile version string: 4.6.0 NVIDIA 550.90.07
Think this is related to issue #209
The text was updated successfully, but these errors were encountered: