Hi Guys,
Following an issue where addToDesktop with temporary window do not work when the main window is attached to an opengl context, I am wondering if there is a way to know a component is attached to a gl context ?
Thanks,
Hi Guys,
Following an issue where addToDesktop with temporary window do not work when the main window is attached to an opengl context, I am wondering if there is a way to know a component is attached to a gl context ?
Thanks,
I've added a method to do this now: OpenGLContext::getContextAttachedTo()
Perfect.
Actually I've found my temporary window bug using this.
It seems that OSX do not like having the following situation:
Child A with GL and child B without GL with the same parent without GL.
In that case, Child B is not drawn
Thanks !