[Bug 14000] New: ATI and unable to find a suitable iPixel Format

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jun 19 15:10:56 CDT 2008


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

           Summary: ATI and unable to find a suitable iPixel Format
           Product: WineHQ Bugzilla
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bugzilla-unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: celticht32 at aol.com
                CC: celticht32 at aol.com


In trying to work through and get Everquest2 to work on my T60p with 
ATI's latest drivers I kept on getting a unable to find an appropriate iPixel
Format.

Debugging the code I found the following in 

dll\wined3d\context.c

on line 148 the if statement there is irrelevent because of the line above it.
by removing the if around the statment it seems to now have resolved the issue.

here is the fix I did

    if(DepthStencilFormat != WINED3DFMT_D24S8)
        FIXME("Add OpenGL context recreation support to
SetDepthStencilSurface\n");

    DepthStencilFormat = WINED3DFMT_D24S8;

/*    if(DepthStencilFormat) {                     Changed June 19,08*/
        getDepthStencilBits(DepthStencilFormat, &depthBits, &stencilBits);
/*    } */


Now I do not get the error anymore.

Also I changed  line 173 - 181 to one if statement instead of 3 like so :

        if ((cfgs->redSize != redBits) || (cfgs->greenSize != greenBits) ||
(cfgs->blueSize != blueBits) || (cfgs->alphaSize != alphaBits))
             continue;

Can others getting the iPixel Format error test the above fix and tell me if it
breaks anything or fixes it..


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