diff options
author | Michael Bien <[email protected]> | 2011-01-22 03:07:11 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2011-01-22 03:07:11 +0100 |
commit | cecd8d38d5485ff0a510aafd3aadc4058d525560 (patch) | |
tree | bcca6411f2c19525fc0f5802f20a7b0dd0a6808c /src/com | |
parent | 6ca42ce154439b8c2f7f76ce4300ae08678f223a (diff) |
reverted reference lock since its not needed.
Diffstat (limited to 'src/com')
-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); |