Henri Verbeet : wined3d: Avoid a couple of useless glGetUniformLocationARB( ) calls.