message: fix warnings when packaging ios project
diff: @@ -219,9 +219,15 @@ void UScreenCreditsWidget::HandleImageRequest(
  texture->SRGB = true;
  texture->UpdateResource();
  _textures.Add(texture);
  - _creditImages[id] = new FSlateImageBrush(
  - texture,
  - FVector2D(texture->PlatformData->SizeX, texture->PlatformData->SizeY));
  +#if ENGINE_MAJOR_VERSION >= 5
  + FTexturePlatformData* pPlatformData = texture->GetPlatformData();
  + int32 SizeX = pPlatformData->SizeX;
  + int32 SizeY = pPlatformData->SizeY;
  +#else
  + int32 SizeX = texture->PlatformData->SizeX;
  + int32 SizeY = texture->PlatformData->SizeY;
  +#endif
  + _creditImages[id] = new FSlateImageBrush(texture, FVector2D(SizeX, SizeY));
  // Only update credits after all of the images are done loading.
  --_numImagesLoading;
  if (_numImagesLoading == 0) {
  @@ -243,11 +249,15 @@ std::string UScreenCreditsWidget::LoadImage(const std::string& url) {
  texture->SRGB = true;
  texture->UpdateResource();
  _textures.Add(texture);
  - _creditImages.Add(new FSlateImageBrush(
  - texture,
  - FVector2D(
  - texture->PlatformData->SizeX,
  - texture->PlatformData->SizeY)));
  +#if ENGINE_MAJOR_VERSION >= 5
  + FTexturePlatformData* pPlatformData = texture->GetPlatformData();
  + int32 SizeX = pPlatformData->SizeX;
  + int32 SizeY = pPlatformData->SizeY;
  +#else
  + int32 SizeX = texture->PlatformData->SizeX;
  + int32 SizeY = texture->PlatformData->SizeY;
  +#endif
  + _creditImages.Add(new FSlateImageBrush(texture, FVector2D(SizeX, SizeY)));
  }
  } else {
  ++_numImagesLoading;
  