http://bugs.winehq.org/show_bug.cgi?id=6482
------- Additional Comments From T.Bonner@freesurf.ch 2006-24-10 18:11 ------- Just did some investigation in my software, and it seems to be the function ChoosePixelFormat (followed by SetPixelFormat). This part is some kind of dead code, not needed and still remaining from earlier versions. I've removed it and now it's working. The function was to initiate some opengl hardware (and there came the problem from without an installed graphics driver from nvidia). Following is the obsolete code part:
ZeroMemory (&pfd, sizeof (pfd)); pfd.nSize = sizeof (pfd); pfd.nVersion = 1; pfd.dwFlags = PFD_DRAW_TO_WINDOW | PFD_DOUBLEBUFFER; pfd.iPixelType = PFD_TYPE_RGBA; pfd.cColorBits = 24; pfd.cDepthBits = 16; pfd.iLayerType = PFD_MAIN_PLANE; printf ("calling ChoosePixelFormat...\n"); iFormat = ChoosePixelFormat (hDC, &pfd); /* <--- wine bug here */ printf ("calling SetPixelFormat...\n"); SetPixelFormat (hDC, iFormat, &pfd);