From 4373f933333ecee50dea9686403b6f81759e3b07 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Wed, 15 Jun 2011 16:32:27 +0200 Subject: internal refactoring to use new binding interfaces in highlevel api impl. --- src/com/jogamp/opencl/CLObject.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/com/jogamp/opencl/CLObject.java') diff --git a/src/com/jogamp/opencl/CLObject.java b/src/com/jogamp/opencl/CLObject.java index eb1f0abf..3273c4db 100644 --- a/src/com/jogamp/opencl/CLObject.java +++ b/src/com/jogamp/opencl/CLObject.java @@ -29,7 +29,6 @@ package com.jogamp.opencl; import com.jogamp.common.AutoCloseable; -import com.jogamp.opencl.llb.CL; /** * Common superclass for all OpenCL objects. @@ -44,16 +43,12 @@ abstract class CLObject implements AutoCloseable { protected CLContext context; - protected final CL cl; - - CLObject(CL cl, long ID) { - this.cl = cl; + CLObject(long ID) { this.context = null; this.ID = ID; } CLObject(CLContext context, long ID) { - this.cl = context.cl; this.context = context; this.ID = ID; } -- cgit v1.2.3