Hi You can do this inside viewer::realize method Cheers
23.07.2012, 23:06, "Joshua No" <[email protected]>: > That's interesting but I'm actually asking *where* in the setup of OSG are > you initializing OpenCL? I can't find a post OpenGL setup callback so I'm > having to do OpenCL initialization in my geometry object which is strange. > > I want to know of you have a better place that works to setup the OpenCL > context. > > Thanks > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=49005#49005 > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

