Matteo Bruni : wined3d: Store currently active texture in the wined3d context.