Shared OpenGL context on Leopard

Hi -

I’m using the “create a hidden undecorated frame” method to share opengl contexts so my textures don’t get lost in the main frame. Everything works fine on Win32.

However, when I try the code on my MacBook Pro running Leopard, I had to use a decorated frame in order for it to share the context. And also some textures do not load properly (not sure if this is directly a jogl problem).


m_frameShareContext.setUndecorated( false );
m_frameShareContext.add( m_canvasShareContext );
m_frameShareContext.pack();
m_frameShareContext.setVisible( true );

MacBook Pro:
ATI X1600
jogl 1.1.1-release-macos-universal
Eclipse IDE

JVM args: (jre 1.5.0_13)
-Dsun.java2d.opengl=true
-Dsun.java2d.opengl.fboject=false

Thanks for any help!