|visits||member for||4 years, 2 months|
|seen||Aug 28 '14 at 9:29|
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.