Re: [AD] Expose events in OS X |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
Milan Mimica wrote:
Elias Pschernig wrote:
I also made another little discovery - GLX actually always keeps the contents of
each OpenGL window (if double buffering is used) and only X11 itself forgets
them. Therefore calling glXSwapBuffers() on a window repairs any damage from
being obscured by other windows.
Can you rely on this?
No. But then, it's almost certain to work, as page flipping is not possible in
windowed mode - so if GLX works for some X11, then most likely it's implemented
in a way so this works (the specifications of course say the behavior is undefined).
--
Elias Pschernig <elias@xxxxxxxxxx>