http://bugs.winehq.org/show_bug.cgi?id=22029
--- Comment #8 from Henri Verbeet hverbeet@gmail.com 2011-12-07 14:39:20 CST --- Created attachment 37853 --> http://bugs.winehq.org/attachment.cgi?id=37853 hack
This patch makes the demo work for me. That pretty much makes it Apple's bug, either in the X server or the driver. glXSwapBuffers() is not supposed to care what the current draw framebuffer binding is.