http://bugs.winehq.org/show_bug.cgi?id=19002
--- Comment #10 from Stefan Dösinger stefandoesinger@gmx.at 2009-06-21 04:03:09 --- Can you search for
if(ffp_clip_emul(stateblock) && device->vs_clipping) shader_addline(&buffer, "KIL fragment.texcoord[7];\n");
in gen_arbfp_ffp_shader(), arb_program_shader.c, and replace it with
if(ffp_clip_emul(stateblock) && !device->vs_clipping) shader_addline(&buffer, "KIL fragment.texcoord[7];\n");
Ie, negate device->vs_clipping. It should be in line 5173. (Sorry, no patch atm, my wine tree is quite different)