diff options
Diffstat (limited to 'src/com/mbien/opencl/CLGLContext.java')
-rw-r--r-- | src/com/mbien/opencl/CLGLContext.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/com/mbien/opencl/CLGLContext.java b/src/com/mbien/opencl/CLGLContext.java index 46f0dea3..e10ae6e7 100644 --- a/src/com/mbien/opencl/CLGLContext.java +++ b/src/com/mbien/opencl/CLGLContext.java @@ -28,7 +28,7 @@ public final class CLGLContext extends CLContext { /** * Creates a shared context on all available devices (CL_DEVICE_TYPE_ALL). */ - public static final CLGLContext create(GLContext glContext) { + public static CLGLContext create(GLContext glContext) { return create(glContext, (CLPlatform)null, CLDevice.Type.ALL); } @@ -51,7 +51,7 @@ public final class CLGLContext extends CLContext { * Creates a shared context on the specified devices. * The platform to be used is implementation dependent. */ - public static final CLGLContext create(GLContext glContext, CLDevice... devices) { + public static CLGLContext create(GLContext glContext, CLDevice... devices) { return create(glContext, null, devices); } @@ -59,7 +59,7 @@ public final class CLGLContext extends CLContext { * Creates a shared context on the specified platform and with the specified * device types. */ - public static final CLGLContext create(GLContext glContext, CLPlatform platform, CLDevice.Type... deviceTypes) { + public static CLGLContext create(GLContext glContext, CLPlatform platform, CLDevice.Type... deviceTypes) { if(platform == null) { platform = CLPlatform.getDefault(); @@ -77,7 +77,7 @@ public final class CLGLContext extends CLContext { * Creates a shared context on the specified platform and with the specified * devices. */ - public static final CLGLContext create(GLContext glContext, CLPlatform platform, CLDevice... devices) { + public static CLGLContext create(GLContext glContext, CLPlatform platform, CLDevice... devices) { if(platform == null) { platform = CLPlatform.getDefault(); @@ -97,7 +97,7 @@ public final class CLGLContext extends CLContext { } - private static final PointerBuffer setupContextProperties(CLPlatform platform, GLContext glContext, long[] glID) { + private static PointerBuffer setupContextProperties(CLPlatform platform, GLContext glContext, long[] glID) { if(platform == null) { throw new RuntimeException("no OpenCL installation found"); |