Fix code style

This commit is contained in:
Wojtek Figat
2020-12-30 11:20:37 +01:00
parent 4ec3e6aed9
commit 4c205be617
56 changed files with 608 additions and 1139 deletions

View File

@@ -528,14 +528,14 @@ CreateAssetResult ImportTexture::ImportIES(class CreateAssetContext& context)
// Load IES profile data
IESLoader loader;
if (loader.Load(fileData))
if (loader.Load(fileData.Get()))
{
return CreateAssetResult::Error;
}
// Extract texture data
Array<byte> rawData;
const float multiplier = loader.ExtractInR16F(rawData);
const float multiplier = loader.ExtractInR16(rawData);
// Fill texture header
TextureHeader textureHeader;