Login  Register

Re: Reshape Problem using swt GLCanvas

Posted by Sven Gothel on Nov 28, 2012; 4:31pm
URL: https://forum.jogamp.org/Reshape-Problem-using-swt-GLCanvas-tp4027272p4027275.html

On 11/28/2012 05:14 PM, samg [via jogamp] wrote:

> hey all,
>
> I use the /com.jogamp.opengl.swt.GLCanvas/ class for embedding JOGL within my
> SWT application but I have an reshape Problem, as it doesn't send me all
> reshapes.
>
> The bug seems to be in the method: /updateSizeCheck/, where the
> /sendReshape/ flag will only be set if its an offscreen context. Moving the
> line outside of that /if/ should fix the problem.
>
> tested with 2.0-rc11
Thank you very much, indeed .. this is a copy/paste error
of jogl commit 4dd44b985fe0541be3a3bcd9045d201ed3ca2cc5

Fixing that ..

~Sven



signature.asc (909 bytes) Download Attachment