Hi,
i'm trying to use jogl with SWT. Everything is up and running with the latest jogl-release from May 2008. Somehow i have problems with z ordering although GL_DEPTH_TEST is enabled.
Below you will find my GLContext creation code (copied from Snipped #209).
1 2 3 4 5 6 7 8 9 10
| org.eclipse.swt.GLCanvas canvas = new GLCanvas(new GLData());
canvas.setCurrent(); GLContext glcontext = GLDrawableFactory.getFactory().createExternalGLContext(); glcontext.makeCurrent();
glcontext.release(); glcanvas.swapBuffers(); |
Since i couldn't find anything to correct this problem: Has someone a solution? Maybe its the same issue for which the GLJPanel was created? And no, i don't want to use SWT_AWT bridge.
[edit]
OS: Intel Linux 32 bit. Latest nvidia driver (173.xxx). And swt 3.3.2
[/edit]