2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-05-16 23:11:42 +00:00

Remove vestigial lmapLookupStart code.

This commit is contained in:
njohnson
2026-05-10 23:00:03 -04:00
committed by Jan Laupetin
parent 42ed9d8616
commit d1b74c7230
@@ -48,7 +48,6 @@ namespace
int8_t lmapLookupStart;
file.m_stream->read(reinterpret_cast<char*>(&samplerState), sizeof(int8_t));
file.m_stream->read(&imageName[0], static_cast<size_t>(imageNameSize));
file.m_stream->read(reinterpret_cast<char*>(&lmapLookupStart), sizeof(int8_t));
auto* imageDependency = context.LoadDependency<AssetImage>(imageName);
if (!imageDependency)
@@ -60,7 +59,6 @@ namespace
lightDef->attenuation.samplerState = samplerState;
lightDef->attenuation.image = imageDependency->Asset();
lightDef->lmapLookupStart = static_cast<int>(static_cast<uint8_t>(lmapLookupStart));
return AssetCreationResult::Success(context.AddAsset(std::move(registration)));
}