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@winehq.org ReportedBy: celticht32@aol.com CC: celticht32@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..