You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to notify globjects and glbinding of the switch. But in source/globjects/source/globjects.cpp#L177 it looks like globjects::setContext(glbinding::ContextHandle handle) calls glbinding::Binding::useContext(glbinding::ContextHandle handle) internally, causing an infinite call chain and a stack overflow.
Just removing the section is probably enough to fix this, but it would be nice if it also explicitly states that the init, setContext and setCurrentContext globject functions also internally calls the glbinding equivalents.
The text was updated successfully, but these errors were encountered:
In the Initialize Contexts section of the documentation it states you can sync OpenGL contexts using glbinding by doing:
And then do
glbinding::Binding::useContext(handle);
to notify globjects and glbinding of the switch. But in source/globjects/source/globjects.cpp#L177 it looks like
globjects::setContext(glbinding::ContextHandle handle)
callsglbinding::Binding::useContext(glbinding::ContextHandle handle)
internally, causing an infinite call chain and a stack overflow.Just removing the section is probably enough to fix this, but it would be nice if it also explicitly states that the
init
,setContext
andsetCurrentContext
globject functions also internally calls the glbinding equivalents.The text was updated successfully, but these errors were encountered: