http://bugs.winehq.org/show_bug.cgi?id=18636
--- Comment #12 from Henri Verbeet hverbeet@gmail.com 2009-08-10 08:47:59 --- The window gets destroyed before we're done cleaning up GL resources. This means we don't have a valid GL context at the time.