Skip to content
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

glGetString(GL_Version) does not return anything #390

Open
a333klm opened this issue Jun 5, 2020 · 0 comments
Open

glGetString(GL_Version) does not return anything #390

a333klm opened this issue Jun 5, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@a333klm
Copy link

a333klm commented Jun 5, 2020

Hello :),
I have two threads executing the following:

SoDB::init();
render_action = new SoGLRenderAction(this->render_viewport);
render_action->setTransparencyType(SoGLRenderAction::SORTED_OBJECT_BLEND); 
uint32_t uniqcc = SoGLCacheContextElement::getUniqueCacheContext();
render_action->setCacheContext(uniqcc);
autoclipbboxaction = new SoGetBoundingBoxAction(this->render_viewport);
offscreen_renderer = new SoOffscreenRenderer(this->render_action);

In one thread a call after that to glGetString(GL_Version) returns the correct OpenGL Version.
The other thread returns nothing.

Outside of VirtualBox the code works as intended and glGetString gives information. I know that a Virtualbox is not a usual setup.
Maybe someone has an idea what could be the issue with OpenGL here.

Thank you very much.

@VolkerEnderlein VolkerEnderlein added the bug Something isn't working label Oct 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants