From 9560f296e01e120279a01ad06189f71cd662ed42 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Thu, 24 Jun 2010 18:29:09 +0200 Subject: issue 400 typo in CLGLTexture2d with texture id. --- src/com/jogamp/opencl/gl/CLGLTexture2d.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/com/jogamp/opencl/gl') 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 extends CLGLImage2d implements C int width = (int)accessor.getLong(CL_IMAGE_WIDTH); int height = (int)accessor.getLong(CL_IMAGE_HEIGHT); - return new CLGLTexture2d(context, directBuffer, format, accessor, target, mipLevel, width, height, id, width, flags); + return new CLGLTexture2d(context, directBuffer, format, accessor, target, mipLevel, width, height, id, texture, flags); } -- cgit v1.2.3