http://bugs.winehq.org/show_bug.cgi?id=12416
--- Comment #6 from Stefan Dösinger stefandoesinger@gmx.at 2008-04-10 10:33:54 --- I can imagine why this stuff is broken... We're not using GL_ATI_fragment_shader on your card(as intended), but there is no GLSL or ARB fragment processing, so the opengl fixed function pipeline is still used. However, as a leftover from some earlier developemnt state, the context manager still enables GL_FRAGMENT_SHADER_ATI, and the driver expects us to feed it with an ati fragment shader.
You can confirm my theory by commenting out all glEnable(GL_FRAGMENT_SHADER_ATI) calls in context.c. That should fix the problem. I'll send a patch.