http://bugs.winehq.org/show_bug.cgi?id=29934
--- Comment #6 from Henri Verbeet hverbeet@gmail.com 2012-02-21 07:07:35 CST --- Created attachment 39005 --> http://bugs.winehq.org/attachment.cgi?id=39005 hack
The issue (in the demo at least) is that wined3d sets a pixel format on the window. When the application itself then tries to initialize GL and set a pixel format on the window SetPixelFormat() fails because one is already set. The attached hack is a workaround, but it's probably non-trivial to fix this properly.