Hi Keith,
On Fri, 25 Feb 2011 14:48:39 +0000 (UTC), Keith Brafford <keith.brafford(a)gmail.com>
wrote:
I also finally got the gl interop demo and
Enjalot's "part2" demo working on my
CPU context-only machine. I used the newest code in the repo, but I don't know
if that matters. I ended up having to change the context acquisition code from
this:
else:
ctx = cl.Context(properties=[
(cl.context_properties.PLATFORM, plats[0])]
+ get_gl_sharing_context_properties())
to this:
else:
ctx = cl.Context(properties=[
(cl.context_properties.PLATFORM, plats[0])]
+ get_gl_sharing_context_properties(), devices =
[plats[0].get_devices()[0]])
Now it works.
Can you send a patch so that the resulting example should work
everywhere?
Thanks!
Andreas