SurfaceData

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-07-12 20:07:15 -07:00
parent b95ec16e71
commit e92d9f6823
19 changed files with 5 additions and 30 deletions
@@ -271,7 +271,7 @@ namespace UnitTest
{
// We don't actually remove the entry from our list because we use handles as indices, so the indices can't change.
// Clearing out the entity Id should be good enough.
uint32 index = static_cast<uint32>(handle) - 1;
uint32_t index = static_cast<uint32_t>(handle) - 1;
if (index < entryList.size())
{
entryList[index].m_entityId = AZ::EntityId();
@@ -281,7 +281,7 @@ namespace UnitTest
void UpdateEntry(const SurfaceData::SurfaceDataRegistryHandle& handle, const SurfaceData::SurfaceDataRegistryEntry& entry,
AZStd::vector<SurfaceData::SurfaceDataRegistryEntry>& entryList)
{
uint32 index = static_cast<uint32>(handle) - 1;
uint32_t index = static_cast<uint32_t>(handle) - 1;
if (index < entryList.size())
{
entryList[index] = entry;