http://bugs.winehq.org/show_bug.cgi?id=16997
--- Comment #36 from Caladan a.vankaam@chello.nl 2009-02-22 10:49:32 --- I have limited C knowledge, but I asume you mean:
static const struct fragment_pipeline *select_fragment_implementation(UINT Adapter, WINED3DDEVTYPE DeviceType) { int vs_selected_mode; int ps_selected_mode;
return &ffp_fragment_pipeline;
/* select_shader_mode(&GLINFO_LOCATION, DeviceType, &ps_selected_mode, &vs_selected_mode); if((ps_selected_mode == SHADER_ARB || ps_selected_mode == SHADER_GLSL) && GL_SUPPORT(ARB_FRAGMENT_PROGRAM)) { return &arbfp_fragment_pipeline; } else if(ps_selected_mode == SHADER_ATI) { return &atifs_fragment_pipeline; } else if(GL_SUPPORT(NV_REGISTER_COMBINERS) && GL_SUPPORT(NV_TEXTURE_SHADER2)) { return &nvts_fragment_pipeline; } else if(GL_SUPPORT(NV_REGISTER_COMBINERS)) { return &nvrc_fragment_pipeline; } else { return &ffp_fragment_pipeline; } */ }
This fixes the icons above the npc and smoke from all angles and distance, however it gives a few new issues, codemaster logo movie is black, background at char select is black, underside of clouds in the sky is black. But I am guess that does not mather as this points you to ARBFP and that is what you wanted to know ?