summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-31 19:29:27 +0200
committerSven Gothel <[email protected]>2011-07-31 19:29:27 +0200
commit8998ed04a1c0aa0f96ab463dba40e4087732cdb8 (patch)
treee1d855dd1fa43aac4abe4830f3fdef2aca48c246
parent56d8fa826f78f1cadc623d8c8740d555ec2dc52b (diff)
JoglVersion: Add info whether shader-compiler exists or not
-rw-r--r--src/jogl/classes/com/jogamp/opengl/JoglVersion.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/JoglVersion.java b/src/jogl/classes/com/jogamp/opengl/JoglVersion.java
index 34108bce6..ea70017cf 100644
--- a/src/jogl/classes/com/jogamp/opengl/JoglVersion.java
+++ b/src/jogl/classes/com/jogamp/opengl/JoglVersion.java
@@ -101,6 +101,8 @@ public class JoglVersion extends JogampVersion {
sb.append(Platform.getNewline());
sb.append(" ").append(ctx.getPlatformExtensionsString());
sb.append(Platform.getNewline());
+ sb.append("GLSL ").append(gl.hasGLSL()).append(", shader-compiler: ").append(gl.isFunctionAvailable("glCompileShader"));
+ sb.append(Platform.getNewline());
sb.append(VersionUtil.SEPERATOR);
return sb;