(XDK 360) Convert unused convert_texture function