From 8998ed04a1c0aa0f96ab463dba40e4087732cdb8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 31 Jul 2011 19:29:27 +0200 Subject: JoglVersion: Add info whether shader-compiler exists or not --- src/jogl/classes/com/jogamp/opengl/JoglVersion.java | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3