Skip to content

Commit

Permalink
Update to latest Terra to fix bug from upstream
Browse files Browse the repository at this point in the history
Upstream
OGRECave/ogre-next@d0a01d2

Signed-off-by: Matias N. Goldberg <[email protected]>
  • Loading branch information
darksylinc committed Sep 7, 2021
1 parent 4c08baa commit 1fb65fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ogre2/src/terrain/Terra/src/Terra.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ namespace Ogre
}
}

if( mHlmsTerraIndex != std::numeric_limits<uint32>::max() )
if( mHlmsTerraIndex == std::numeric_limits<uint32>::max() )
{
OGRE_ASSERT_HIGH( dynamic_cast<HlmsTerra *>( datablock->getCreator() ) );
HlmsTerra *hlms = static_cast<HlmsTerra *>( datablock->getCreator() );
Expand Down

0 comments on commit 1fb65fc

Please sign in to comment.