> > No, because one of the things C++ does is pass around an extra parameter -- > namely the 'self' pointer. The 'real' prototype looks something like: > > void Context::BlendFunc( Context *self, GLenum sfactor, GLenum dfactor ) >
Thats correct, but not with static methods (please correct me, if it isn't), callbacks are a little be tricky to implement in C++ if you don't know how, but this should be no nogo item. regards odiX ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel