GradientSignal

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-17 17:14:43 -07:00
committed by Esteban Papp
parent 93384eebe1
commit 0af39dd633
2 changed files with 5 additions and 5 deletions
@@ -40,7 +40,7 @@ namespace
asset.m_imageWidth = dimensions;
asset.m_imageHeight = dimensions;
asset.m_bytesPerPixel = bytesPerPixel;
asset.m_bytesPerPixel = static_cast<AZ::u8>(bytesPerPixel);
asset.m_imageFormat = format;
asset.m_imageData.resize(asset.m_bytesPerPixel * asset.m_imageWidth * asset.m_imageHeight);