[Bug 28281] New: wine locked in ::SetPixelFormat

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Sep 4 22:49:32 CDT 2011


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 at winehq.org
        ReportedBy: zhao_jian at 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 .

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list