Skip to content

Commit baf646d

Browse files
committed
Release all textures on WorldHeightMap destruction
1 parent baab9dd commit baf646d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/platform/w3dengine/client/worldheightmap.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ WorldHeightMap::~WorldHeightMap()
234234

235235
Ref_Ptr_Release(m_terrainTex);
236236
Ref_Ptr_Release(m_alphaTerrainTex);
237+
Ref_Ptr_Release(m_alphaEdgeTex);
237238
}
238239

239240
void WorldHeightMap::Free_List_Of_Map_Objects()

0 commit comments

Comments
 (0)