[Bug 33265] New: HoMM 3 fails to create wgl context

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 23 16:14:20 CDT 2013


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

             Bug #: 33265
           Summary: HoMM 3 fails to create wgl context
           Product: Wine
           Version: 1.5.26
          Platform: x86
        OS/Version: Mac OS X
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: winemac.drv
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: per at morth.org
    Classification: Unclassified


Created attachment 43997
  --> http://bugs.winehq.org/attachment.cgi?id=43997
tail of ddraw,display,d3d,wgl log

Not sure what the most proper fix is so I'm going to leave this as a bug
report. Basically HoMM 3 (from gog.com) won't start with the mac driver, due to
create_context in dlls/winemac.drv/opengl.c failing. It's trying to create a
context with color bits set to 64 and alpha bits set to 16, which obviously
fails.

Simply commenting out kCGLPFAColorSize, kCGLPFAAlphaSize and kCGLPFADepthSize
will let the game start with no obvious drawbacks, but I don't know if it's a
proper fix.

Also tried commenting out kCGLPFAMinimumPolicy, that would let the game start,
but with a white screen only.

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