http://bugs.winehq.org/show_bug.cgi?id=6153
------- Additional Comments From hverbeet@gmail.com 2006-19-09 03:50 ------- Just to verify, in arb_program_shader.c, shader_generate_arb_declarations(), line 182-183, could you change: shader_addline(buffer, "PARAM C[%d] = { program.env[0..%d] };\n", max_constantsF, max_constantsF - 1);
to: shader_addline(buffer, "PARAM C[%d] = { program.env[0..%d] };\n", max_constantsF, max_constantsF - 2);
ie, declare one constant less.