From e081f13ca50353a7a9c34438a2f81d38e03e88a7 Mon Sep 17 00:00:00 2001 From: Michael Bien Date: Mon, 8 Mar 2010 17:08:03 +0100 Subject: introduced gl package and moved all interoperability functionality into it. --- src/com/mbien/opencl/CLContext.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/com/mbien/opencl/CLContext.java') diff --git a/src/com/mbien/opencl/CLContext.java b/src/com/mbien/opencl/CLContext.java index 6b09cc37..2698a934 100644 --- a/src/com/mbien/opencl/CLContext.java +++ b/src/com/mbien/opencl/CLContext.java @@ -382,6 +382,10 @@ public class CLContext extends CLObject implements CLResource { release(); } + protected void overrideContext(CLDevice device) { + device.setContext(this); + } + /** * Returns the CLPlatform this context is running on. */ -- cgit v1.2.3