diff options
author | Michael Bien <[email protected]> | 2010-06-24 18:29:09 +0200 |
---|---|---|
committer | Michael Bien <[email protected]> | 2010-06-24 18:29:09 +0200 |
commit | 9560f296e01e120279a01ad06189f71cd662ed42 (patch) | |
tree | c4425351a30b9bfcb768d81dbfb29831209c1d25 /src | |
parent | ea713fc1514c072693856a325c8c6fa37390a02b (diff) |
issue 400 typo in CLGLTexture2d with texture id.
Diffstat (limited to 'src')
-rw-r--r-- | src/com/jogamp/opencl/gl/CLGLTexture2d.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/jogamp/opencl/gl/CLGLTexture2d.java b/src/com/jogamp/opencl/gl/CLGLTexture2d.java index 88b32286..7882cf93 100644 --- a/src/com/jogamp/opencl/gl/CLGLTexture2d.java +++ b/src/com/jogamp/opencl/gl/CLGLTexture2d.java @@ -42,7 +42,7 @@ public class CLGLTexture2d<B extends Buffer> extends CLGLImage2d<B> implements C int width = (int)accessor.getLong(CL_IMAGE_WIDTH); int height = (int)accessor.getLong(CL_IMAGE_HEIGHT); - return new CLGLTexture2d<B>(context, directBuffer, format, accessor, target, mipLevel, width, height, id, width, flags); + return new CLGLTexture2d<B>(context, directBuffer, format, accessor, target, mipLevel, width, height, id, texture, flags); } |