aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2016-04-05 22:42:51 +0200
committerJulien Gouesse <[email protected]>2016-04-05 22:42:51 +0200
commitfa0f55873667a0380101312c073ad18bd0ec3fab (patch)
tree461ee7dd12949b47ba7558b826cfa5c8d34dca24
parent45cc13c4d68fb3137b741cbc39ea653c15db2f66 (diff)
Shows all information of the default graphics device in JoglVersion, bug 1294bug1294
-rw-r--r--src/jogl/classes/com/jogamp/opengl/JoglVersion.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/JoglVersion.java b/src/jogl/classes/com/jogamp/opengl/JoglVersion.java
index 7589b3776..560d99025 100644
--- a/src/jogl/classes/com/jogamp/opengl/JoglVersion.java
+++ b/src/jogl/classes/com/jogamp/opengl/JoglVersion.java
@@ -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);
}