Skip to content

Commit

Permalink
Release texture on W3DLaserDraw destruction
Browse files Browse the repository at this point in the history
  • Loading branch information
xezon committed Sep 18, 2024
1 parent 0574116 commit c532c52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/platform/w3dengine/client/drawable/draw/w3dlaserdraw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ W3DLaserDraw::~W3DLaserDraw()
}

delete[] m_line3D;

Ref_Ptr_Release(m_texture);
}

float W3DLaserDraw::Get_Laser_Template_Width() const
Expand Down

0 comments on commit c532c52

Please sign in to comment.