http://bugs.winehq.org/show_bug.cgi?id=9458
--- Comment #9 from Stefan Dösinger stefandoesinger@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.