[Bug 9458] Max Payne 2 demo: areas redrawn as light blue or transparent

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 27 14:37:51 CDT 2007


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





--- Comment #9 from Stefan Dösinger <stefandoesinger at gmx.at>  2007-08-27 14:37:50 ---
Max Payne 1 depends heavilly on correct function of the depth stencil buffer
for offscreen rendering. Only the fbo offscreen rendering method can do
that(but it is not complete yet). I am tempted to say that this bug is caused
by the incorrect sharing of the depth stencil buffer between render targets
that is inherent to the aux buffer offscreen rendering method.

Propably the game uses a separate depth stencil buffer with the offscreen
target. When it activates it the offscreen depth stencil is cleared, but the
onscreen is not. The default offscreen rendering method uses the default depth
stencil upside down and without size handling. Before my patch the main depth
stencil was cleared, so the game was happy, but now it contains things the game
doesn't expect.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list