LWJGL Forum

Programming => Lightweight Java Gaming Library => Topic started by: rdeterre on September 18, 2013, 16:58:57

Title: Enable OpenGL 3.2 for Eclipse RCP application on Mac OS
Post by: rdeterre on September 18, 2013, 16:58:57
Hi all,

I'm new to LWJGL, and I am currently developing an Eclipse RCP application with it. I got started with the swt snippet 195 (http://git.eclipse.org/c/platform/eclipse.platform.swt.git/tree/examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet195.java) to link LWJGL with the Eclipse RCP environment.

The application works fine on my Linux box, but I use GLSL 1.3, and a OS X 10.8.4 test machine complains about this version not being supported. I saw on this thread (http://lwjgl.org/forum/index.php/topic,4708.0.html) that this problem can be solved by passing the right context attributes to the LWJGL Display during it's creation. But since I don't create any Display in my application, and merely uses the one the Eclipse RCP framework provides me with, I'm not sure how to enable OpenGL's 3.2 version in my application.

Is there anything I can do to make GLSL 1.3 work on OS X with this setup ?

Thanks for your help