[Bug 28249] New: opengl program failed in Mac OS X 10.7, dead block at pglXCreateGLXPixmap()

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 1 22:27:03 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28249

           Summary: opengl program failed in Mac OS X 10.7, dead block at
                    pglXCreateGLXPixmap()
           Product: Wine
           Version: 1.3.27
          Platform: x86
        OS/Version: Mac OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: opengl
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: drangon.mail at gmail.com


My windows program use OpenGL, it runs fine in Mac OS X 10.6.x, but failed to
run in Mac OS X 10.7.

My windows program code fragment is :

-----------------------------------------------
 PIXELFORMATDESCRIPTOR pfd =
 {
  sizeof(PIXELFORMATDESCRIPTOR),
   1,
   PFD_DRAW_TO_WINDOW | /*PFD_DOUBLEBUFFER |*/ 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);
---------------------------------------------

the function SetPixelFormat() doesn't return, the process dead blocked.

I dig into wine source, it is block in the following function call :
pglXCreateGLXPixmap(display, vis, parent);

-- 
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