[Bug 13025] Supreme Commander: Incorrect z-buffering (regression)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 7 18:51:06 CDT 2008


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





--- Comment #2 from Mikko Rasa <tdb at tdb.fi>  2008-05-07 18:51:06 ---
I did a git bisect, and it reported this:

4428cc32de1f99463ebaa990726c8bd7a3eef6c4 is first bad commit
commit 4428cc32de1f99463ebaa990726c8bd7a3eef6c4
Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Mon Apr 28 21:13:12 2008 +0000

    wined3d: Fix a few small bugs in WineD3D_ChoosePixelFormat.

:040000 040000 6e6e5f451c4a9961328c12a57c3042b6b622067c
b5090b2050987a2273e1e20d55c91be1117c1c92 M      dlls

The culprit is the middle hunk, i.e. this:

-    } else {
+    } else if(!iPixelFormat) {

The game is not requesting an automatic depth/stencil buffer, so
WineD3D_ChoosePixelFormat doesn't give it one.  However, this bug allows it to
call ChoosePixelFormat even though a valid one was already found.  It finds the
exact same pixel format, but apparently somehow with a depth buffer.


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