diff options
author | Michael Bien <[email protected]> | 2011-07-04 23:24:28 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2011-07-04 23:24:28 +0200 |
commit | 3b5da206886d9c73cbed643733ceee71d9416178 (patch) | |
tree | f07f5988c22383fe29c83883379302f219954512 | |
parent | e7d0639b18d0965aa328c3034cd4683f94c3d2a4 (diff) |
corrected mistake: CLEvent constructor should be protected not public.
-rw-r--r-- | src/com/jogamp/opencl/CLEvent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/CLEvent.java b/src/com/jogamp/opencl/CLEvent.java index b0b2193..a9cf713 100644 --- a/src/com/jogamp/opencl/CLEvent.java +++ b/src/com/jogamp/opencl/CLEvent.java @@ -51,7 +51,7 @@ public class CLEvent extends CLObjectResource { private final CLEventProfilingInfoAccessor eventProfilingInfo; private final CLEventBinding binding; - public CLEvent(CLContext context, long id) { + protected CLEvent(CLContext context, long id) { super(context, id); binding = context.getPlatform().getEventBinding(); this.eventInfo = new CLEventInfoAccessor(); |