Gerald Pfeifer : wined3d: Fix error handling in transform_texture().