summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-06-24 18:29:09 +0200
committerMichael Bien <[email protected]>2010-06-24 18:29:09 +0200
commit9560f296e01e120279a01ad06189f71cd662ed42 (patch)
treec4425351a30b9bfcb768d81dbfb29831209c1d25 /src
parentea713fc1514c072693856a325c8c6fa37390a02b (diff)
issue 400 typo in CLGLTexture2d with texture id.
Diffstat (limited to 'src')
-rw-r--r--src/com/jogamp/opencl/gl/CLGLTexture2d.java2
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);
}