http://bugs.winehq.org/show_bug.cgi?id=28281
Summary: wine locked in ::SetPixelFormat Product: Wine Version: 1.3.27 Platform: x86 OS/Version: Mac OS X Status: UNCONFIRMED Severity: critical Priority: P2 Component: winex11.drv AssignedTo: wine-bugs@winehq.org ReportedBy: zhao_jian@dahuatech.com
now I use wine-1.3.27 in Mac 0S X 10.7 (LION).when I call ::SetPixelFormat,but this function can't return. PIXELFORMATDESCRIPTOR pfd = { sizeof(PIXELFORMATDESCRIPTOR), 1, PFD_DRAW_TO_WINDOW | PFD_SUPPORT_OPENGL, PFD_TYPE_RGBA, 24, 0,0,0,0,0,0, 0,0,0,0,0,0,0, 32, 0,0, PFD_MAIN_PLANE, 0, 0,0,0, }; int wglPixelFormat = ::ChoosePixelFormat(m_hDC, &pfd); BOOL bSuccess = ::SetPixelFormat(m_hDC, wglPixelFormat, &pfd);
after I trace this bug, pglXCreateGLXPixmap (it is in dlls/winex11.drv/opengl.c)can't return .