Login  Register

Re: Support of windows-amd64 system is broken!

Posted by gouessej on Sep 22, 2010; 9:46am
URL: https://forum.jogamp.org/Support-of-windows-amd64-system-is-broken-tp1486942p1560071.html

If your source code is very big, maybe use Jackpot 3.0. Otherwise, doing it by yourself is not very difficult. The main differences are below:

// get the profile
GLProfile profile = GLProfile.getDefault();
// this allows us to set particular properties for the GLCanvas
GLCapabilities glCapabilities = new GLCapabilities(profile);
instead of
GLCapabilities glCapabilities = new GLCapabilities();

final GL2 gl = GLContext.getCurrentGL().getGL2();
instead of
final GL gl = GLContext.getCurrentGL();

Except that, the package names have changed, some packages have moved from com.sun to com.jogamp, it is quite trivial. Instead of using directly GL, lots of thing are in GL2, GL2GL3 or in another interfaces of this kind. Sorry for my approximative explanation.
Julien Gouesse | Personal blog | Website