Login  Register

Reshape Problem using swt GLCanvas

Posted by sam on Nov 28, 2012; 4:14pm
URL: https://forum.jogamp.org/Reshape-Problem-using-swt-GLCanvas-tp4027272.html

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