Reshape Problem using swt GLCanvas

classic Classic list List threaded Threaded
3 messages Options
sam
Reply | Threaded
Open this post in threaded view
|

Reshape Problem using swt GLCanvas

sam
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
Reply | Threaded
Open this post in threaded view
|

Re: Reshape Problem using swt GLCanvas

Sven Gothel
Administrator
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
sam
Reply | Threaded
Open this post in threaded view
|

Re: Reshape Problem using swt GLCanvas

sam
thx