diff options
author | Michael Bien <[email protected]> | 2011-02-13 13:57:31 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2011-02-13 13:57:31 +0100 |
commit | e4f978fef8c2805413190f356f9101f6cd3a56cc (patch) | |
tree | 3419bbe81a1b51f3653383094c53918779ef5fd4 /src/com/jogamp/opencl/CLContext.java | |
parent | 8cc4dacf765452fb10c3f16076b26955994f2b80 (diff) |
fixed compiler redundant-casts warnings due to language level changes in gluegen-rt.
Diffstat (limited to 'src/com/jogamp/opencl/CLContext.java')
-rw-r--r-- | src/com/jogamp/opencl/CLContext.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/CLContext.java b/src/com/jogamp/opencl/CLContext.java index 240f6d00..a5f4e52e 100644 --- a/src/com/jogamp/opencl/CLContext.java +++ b/src/com/jogamp/opencl/CLContext.java @@ -236,7 +236,7 @@ public class CLContext extends CLObject implements CLResource { throw new RuntimeException("no OpenCL installation found"); } - return (PointerBuffer)PointerBuffer.allocateDirect(3).put(CL.CL_CONTEXT_PLATFORM) + return PointerBuffer.allocateDirect(3).put(CL.CL_CONTEXT_PLATFORM) .put(platform.ID).put(0) // 0 terminated array .rewind(); } |