diff options
Diffstat (limited to 'src/com/jogamp/opencl/CLContext.java')
-rw-r--r-- | src/com/jogamp/opencl/CLContext.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/CLContext.java b/src/com/jogamp/opencl/CLContext.java index a3157777..a50bf628 100644 --- a/src/com/jogamp/opencl/CLContext.java +++ b/src/com/jogamp/opencl/CLContext.java @@ -474,9 +474,9 @@ public class CLContext extends CLObject implements CLResource { @Override public String toString() { - return "CLContext [id: " + ID - + " #devices: " + getDevices().length - + "]"; + return getClass().getSimpleName()+" [id: " + ID + + " #devices: " + getDevices().length + + "]"; } @Override |