http://bugs.winehq.org/show_bug.cgi?id=9717
Norbert Lataille nonal@freesurf.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nonal@freesurf.fr
--- Comment #5 from Norbert Lataille nonal@freesurf.fr 2007-11-22 13:45:14 ---
fixme:d3d:scissorrect >>>>>>>>>>>>>>>>> GL_INVALID_VALUE (0x501) from glScissor @ state.c / 3608
Yes, glScissor is supposed to be set in screen coordiates, and wine receives a lot of huge/negatives numbers. In fact these bad cord could well be an app bug (unnoticed on windows).
Whatever, this does not seem to be the source of our graphic corruption (to confirm this I suppressed these glScissors calls => no change).
This corruption which looks more stencil buffer issue to me. The game may be doing multipass rendering, and may be trying to stencil-protect the ground. It seems the area which is black/"not written to" on the sky is exactly the mirror image of the ground shape. Do not mirror it and you are fine.