From 1c0265824a1a86e758abf7f0a0b1d1e43c5ef167 Mon Sep 17 00:00:00 2001
From: Michael Bien <mbien@fh-landshut.de>
Date: Mon, 29 Mar 2010 04:09:24 +0200
Subject: changes due to BufferFactory -> Buffers renaming in gluegen.

---
 src/com/mbien/opencl/CLImage3d.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/com/mbien/opencl/CLImage3d.java')

diff --git a/src/com/mbien/opencl/CLImage3d.java b/src/com/mbien/opencl/CLImage3d.java
index bef7ac57..30db943f 100644
--- a/src/com/mbien/opencl/CLImage3d.java
+++ b/src/com/mbien/opencl/CLImage3d.java
@@ -1,6 +1,6 @@
 package com.mbien.opencl;
 
-import com.jogamp.gluegen.runtime.BufferFactory;
+import com.jogamp.gluegen.runtime.Buffers;
 import java.nio.Buffer;
 import java.nio.IntBuffer;
 
@@ -30,7 +30,7 @@ public class CLImage3d<B extends Buffer> extends CLImage<B> {
             int width, int height, int depth, int rowPitch, int slicePitch, CLImageFormat format, int flags) {
 
         CL cl = context.cl;
-        IntBuffer err = BufferFactory.newDirectByteBuffer(4).asIntBuffer();
+        IntBuffer err = Buffers.newDirectByteBuffer(4).asIntBuffer();
 
         long id = cl.clCreateImage3D(context.ID, flags, format.getFormatImpl(), width, height, depth, rowPitch, slicePitch, directBuffer, err);
         checkForError(err.get(), "can not create 2d image");
-- 
cgit v1.2.3