Neil Mless info
|visits||member for||3 years, 6 months|
|seen||Aug 10 at 16:57|
pointers to member functions in an event dispatcher
Thanks QuasarDonkey, you beat me to it. You're right, it's pretty ugly but it's commonly used in the Windows API, pthreads and lower level Mac OS X APIs and... everywhere! I usually hide the free functions that handles the callbacks in my implementation files in the anonymous namespace. C# style delegates calling back to members looks nicer, but it just got in the way of getting things done for me.
OpenGL ES Framebuffer creation problem
Thanks for the reply, Those functions are ES1 only. I came back to my issue a couple of days ago and discovered that some legacy code was still trying to create a framebuffer with my UIView.