Re: 3.2 Core Profile on Mac OS X (Mavericks)
Posted by pdelirium on
URL: https://forum.jogamp.org/3-2-Core-Profile-on-Mac-OS-X-Mavericks-tp4032548p4032552.html
Just to clarify a bit... I've trying to use org.eclipse.swt.opengl.GLCanvas which is why I'm using createExternalGLContext(). It works fine and I can draw using GL 2.1 functions.
I just realized there is a com.jogamp.opengl.swt.GLCanvas but I can't seem to get it to work at all. Calling getGL() always returns null. toString() on the canvas gives me:
Req Profile: GLProfile[GL3/GL3.hw]
SWT-GLCanvas[Realized false,
null-drawable,
Factory null,
handle 0x0,
Drawable size -1x-1,
SWT size 320x299]
Is there a complete example using com.jogamp.opengl.swt.GLCanvas anywhere that I can try?