Re: Incorrect context on GLCanvas drawable
Posted by MarcoNL on Nov 15, 2021; 10:06am
URL: https://forum.jogamp.org/Incorrect-context-on-GLCanvas-drawable-tp4041391p4041497.html
Yes,
this workaround works for me as well, but in my opinion it would be in any case important to understand why JOGL is creating the incorrect GLContext in GLCanvas when multiple DisplayConfiguration's are returned and GraphicsDevice.getConfigurations() is called.
If there is indeed a defect in JOGL, I believe it would be preferable to fix it rather than relying on a workaround, which by the way may not be viable for everyone (e.g., for applications which indeed need the multiple "separate" GraphicsConfigurations).
Regards and thanks for your time investigating on this issue.
Marco