diff options
Diffstat (limited to 'src/com/jogamp')
-rw-r--r-- | src/com/jogamp/opencl/CLProgram.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/com/jogamp/opencl/CLProgram.java b/src/com/jogamp/opencl/CLProgram.java index e74ebed3..323e9b34 100644 --- a/src/com/jogamp/opencl/CLProgram.java +++ b/src/com/jogamp/opencl/CLProgram.java @@ -83,9 +83,7 @@ public class CLProgram extends CLObject implements CLResource { int err = status.get(); if(err != CL_SUCCESS) { - // don't remove: locks the reference (length and srcArray) - length.rewind(); - throw newException(err, "can not create program with source (length="+srcArray[0].length()+") on "+context); + throw newException(err, "can not create program with source on "+context); } return new CLProgram(context, id); |