Login  Register

Re: InternalError in GLDrawableHelper on OSX 10.8

Posted by karelknoes on Oct 05, 2012; 8:43am
URL: https://forum.jogamp.org/InternalError-in-GLDrawableHelper-on-OSX-10-8-tp4026337p4026397.html

Much thanks for the fast fix! I'll test it as soon as the newest autobuild contains this fix.

> The canvas size is 'funny', 0 x -41.
> Does this happen ASAP after 'setVisible(true)' ?

The exception is thrown when the contentPane is set. The GLCanvas resize is taken care of by the swing layout manager, which seems to favor some odd sizes during its initialization. We call setVisible shortly after the contentPane is set.