Skip to content

Commit

Permalink
issue 400 typo in CLGLTexture2d with texture id.
Browse files Browse the repository at this point in the history
  • Loading branch information
mbien committed Jun 24, 2010
1 parent ea713fc commit 9560f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/jogamp/opencl/gl/CLGLTexture2d.java
Expand Up @@ -42,7 +42,7 @@ static <B extends Buffer> CLGLTexture2d<B> createFromGLTexture2d(CLContext conte
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);

}

Expand Down

0 comments on commit 9560f29

Please sign in to comment.