On 10/05/06, Jason Green jave27@gmail.com wrote:
This patch splits the remaining ARB_vertex_program calls out of of the generate_base_shader function and adds the option to call GLSL routines instead. These new routines are disabled because USING_GLSL is defined as 0 in wined3d_private.h at the moment. It should remain 0 until everything is implemented, working well, and tested thoroughly.
I think it would be best not to have USING_GLSL checks at several different places in the code. The function signatures are the same, so it wouldn't be that hard to just pass a pointer to the correct function.