Matteo Bruni : wined3d: Enforce a stable texture units mapping.