diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-05 02:15:12 +0200 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2018-08-05 02:15:12 +0200 |
commit | cc3096b4f4649915cf89a5bc4f6b943d667369f5 (patch) | |
tree | 4de6e88338b65f3c66c2fdea29a067ec042012d2 /src/RendererSectionData.cpp | |
parent | Replaced usage of old texture atlas (diff) | |
download | AltCraft-cc3096b4f4649915cf89a5bc4f6b943d667369f5.tar AltCraft-cc3096b4f4649915cf89a5bc4f6b943d667369f5.tar.gz AltCraft-cc3096b4f4649915cf89a5bc4f6b943d667369f5.tar.bz2 AltCraft-cc3096b4f4649915cf89a5bc4f6b943d667369f5.tar.lz AltCraft-cc3096b4f4649915cf89a5bc4f6b943d667369f5.tar.xz AltCraft-cc3096b4f4649915cf89a5bc4f6b943d667369f5.tar.zst AltCraft-cc3096b4f4649915cf89a5bc4f6b943d667369f5.zip |
Diffstat (limited to 'src/RendererSectionData.cpp')
-rw-r--r-- | src/RendererSectionData.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/RendererSectionData.cpp b/src/RendererSectionData.cpp index de79da4..fb2135a 100644 --- a/src/RendererSectionData.cpp +++ b/src/RendererSectionData.cpp @@ -162,8 +162,7 @@ RendererSectionData ParseSection(const SectionsData §ions) std::array<BlockId, 4096> blockIdData = SetBlockIdData(sections); std::array<unsigned char, 4096> blockVisibility = GetBlockVisibilityData(sections, blockIdData, idModels); std::string textureName; - - const std::map<BlockTextureId, glm::vec4> &textureAtlas = AssetManager::Instance().GetTextureAtlasIndexes(); + data.hash = sections.section.GetHash(); data.sectionPos = sections.section.GetPosition(); |