glXMakeCurrent on MacOS x

I am using glXMakeCurrent on MacOS x.

However, unlike X-window, the call does not seem
to flushing automatically. So, I had to do flushing by my self.

My application consists of several windows and
I do not have to flush the drawing on the previous
window when focus moves to other windows.

Any comments will be appreciated.


Just a question, isn’t that agl instead of glx on Mac ?