GradientSignal
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user