[PATCH 5/9] wined3d: Implement texture1d_prepare_texture().