Skip to content

Commit

Permalink
Release all textures on WorldHeightMap destruction
Browse files Browse the repository at this point in the history
  • Loading branch information
xezon committed Sep 18, 2024
1 parent 0574116 commit 9a9be68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/w3dengine/client/worldheightmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ WorldHeightMap::~WorldHeightMap()

Ref_Ptr_Release(m_terrainTex);
Ref_Ptr_Release(m_alphaTerrainTex);
Ref_Ptr_Release(m_alphaEdgeTex);
}

void WorldHeightMap::Free_List_Of_Map_Objects()
Expand Down

0 comments on commit 9a9be68

Please sign in to comment.