Jogamp
Shows all information of the default graphics device in JoglVersion, bug 1294
authorJulien Gouesse <gouessej@orange.fr>
Tue, 5 Apr 2016 20:42:51 +0000 (22:42 +0200)
committerJulien Gouesse <gouessej@orange.fr>
Tue, 5 Apr 2016 20:42:51 +0000 (22:42 +0200)
src/jogl/classes/com/jogamp/opengl/JoglVersion.java

index 7589b37..560d990 100644 (file)
@@ -144,8 +144,7 @@ public class JoglVersion extends JogampVersion {
         }
 
         sb.append(VersionUtil.SEPERATOR).append(Platform.getNewline());
-        sb.append(device.getClass().getSimpleName()).append("[type ")
-                .append(device.getType()).append(", connection ").append(device.getConnection()).append("]: ").append(Platform.getNewline());
+        sb.append(device.toString()).append(':').append(Platform.getNewline());
         if( withAvailabilityInfo ) {
             GLProfile.glAvailabilityToString(device, sb, "\t", 1);
         }
http://JogAmp.org git info: FAQ, tutorial and man pages.