From 889d52e2a45baccc868bc6388bc466d905f0a36b Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Mon, 26 May 2014 21:35:21 -0500 Subject: [PATCH] Fix GL interop for buffer interface changes --- src/wrapper/wrap_cl.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wrapper/wrap_cl.hpp b/src/wrapper/wrap_cl.hpp index 5eb89164..9e4c141c 100644 --- a/src/wrapper/wrap_cl.hpp +++ b/src/wrapper/wrap_cl.hpp @@ -3889,7 +3889,7 @@ namespace pyopencl class gl_buffer : public memory_object { public: - gl_buffer(cl_mem mem, bool retain, py::object *hostbuf=0) + gl_buffer(cl_mem mem, bool retain, hostbuf_t hostbuf=hostbuf_t()) : memory_object(mem, retain, hostbuf) { } }; @@ -3900,7 +3900,7 @@ namespace pyopencl class gl_renderbuffer : public memory_object { public: - gl_renderbuffer(cl_mem mem, bool retain, py::object *hostbuf=0) + gl_renderbuffer(cl_mem mem, bool retain, hostbuf_t hostbuf=hostbuf_t()) : memory_object(mem, retain, hostbuf) { } }; @@ -3911,7 +3911,7 @@ namespace pyopencl class gl_texture : public image { public: - gl_texture(cl_mem mem, bool retain, py::object *hostbuf=0) + gl_texture(cl_mem mem, bool retain, hostbuf_t hostbuf=hostbuf_t()) : image(mem, retain, hostbuf) { } -- GitLab