diff options
author | Sven Gothel <[email protected]> | 2012-02-24 02:58:23 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-02-24 02:58:23 +0100 |
commit | 067baba5f5c242b754ed3ff26bfd639d86812478 (patch) | |
tree | 8bfbd41df8c7066b7347ad65178a861f515d9220 /src/demos/GLInfo.java | |
parent | 063477d2a3136a3294a6f8917c87fa31f50a5467 (diff) |
Adapt to latest JOGL changes (commit: a4c7bf0420e369e71561d2847f2fc444ce5abafa, d97c54896d349e8a22c9cafec75c62476c16fdd1)
Diffstat (limited to 'src/demos/GLInfo.java')
-rwxr-xr-x | src/demos/GLInfo.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/demos/GLInfo.java b/src/demos/GLInfo.java index c49a578..1af0354 100755 --- a/src/demos/GLInfo.java +++ b/src/demos/GLInfo.java @@ -4,7 +4,6 @@ import javax.media.opengl.*; import javax.media.nativewindow.*; import com.jogamp.newt.*; -import com.jogamp.newt.event.*; import com.jogamp.newt.opengl.*; public class GLInfo extends Thread implements GLEventListener { @@ -94,8 +93,8 @@ public class GLInfo extends Thread implements GLEventListener { GLProfile glp = gl.getGLProfile(); System.err.println(glp+" GL Profile Static: "+GLProfile.glAvailabilityToString()); - System.err.println(glp+" GL Profile Static - MaxFixedFunc: "+GLProfile.getMaxFixedFunc()); - System.err.println(glp+" GL Profile Static - MaxProgrammable: "+GLProfile.getMaxProgrammable()); + System.err.println(glp+" GL Profile Static - MaxFixedFunc: "+GLProfile.getMaxFixedFunc(true)); + System.err.println(glp+" GL Profile Static - MaxProgrammable: "+GLProfile.getMaxProgrammable(true)); System.err.println(glp+" GLCapabilities POST: "+drawable.getChosenGLCapabilities()); System.err.println(glp+" GL Profile: "+drawable.getGLProfile()); System.err.println(glp+" GL:" + gl); |