Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion trinity/Shader/Utils/Tr2DataTextureManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ int32_t Tr2DataTextureManager::RequestBlockData( const Vector4* headerData, uint
m_blockData[m_blockDataNextIdx] = bd;

// and insert it into the priority map, keeps it sorted!
m_blockPriority[priority] = m_blockDataNextIdx;
m_blockPriority.insert( std::make_pair( priority, m_blockDataNextIdx ) );

return m_blockDataNextIdx++;
}
Expand Down
2 changes: 1 addition & 1 deletion trinity/Shader/Utils/Tr2DataTextureManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ BLUE_CLASS( Tr2DataTextureManager ) :
// the data
int32_t m_blockDataNextIdx;
std::map<int32_t, BlockData> m_blockData;
std::map<float, int32_t> m_blockPriority;
std::multimap<float, int32_t> m_blockPriority;

// the texture
Tr2TextureReferencePtr m_dataTexture;
Expand Down