wined3d: Initialize the texture op function properly.