diff options
author | Michael Bien <[email protected]> | 2010-02-24 16:00:35 +0100 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-02-24 16:00:35 +0100 |
commit | 0b0a4735f71f1e34adf426a1c033b94aca01ab75 (patch) | |
tree | 22d430272f1554f87a8bc7ca91d26e92c2aa5cde /src/com/mbien/opencl/CLGLContext.java | |
parent | 01775d5597d6d1ef4fff195f572c1a6528438f66 (diff) |
code review, spell checks and scope.
Diffstat (limited to 'src/com/mbien/opencl/CLGLContext.java')
-rw-r--r-- | src/com/mbien/opencl/CLGLContext.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/mbien/opencl/CLGLContext.java b/src/com/mbien/opencl/CLGLContext.java index e10ae6e7..49fa7fac 100644 --- a/src/com/mbien/opencl/CLGLContext.java +++ b/src/com/mbien/opencl/CLGLContext.java @@ -108,7 +108,7 @@ public final class CLGLContext extends CLContext { DefaultGraphicsConfiguration config = (DefaultGraphicsConfiguration)ctxImpl.getDrawableImpl() .getNativeWindow().getGraphicsConfiguration().getNativeGraphicsConfiguration(); - PointerBuffer properties = null; + PointerBuffer properties; if(glContext instanceof X11GLXContext) { properties = PointerBuffer.allocateDirect(7); long handle = config.getScreen().getDevice().getHandle(); |