Skip to content

Commit

Permalink
remove useless condition
Browse files Browse the repository at this point in the history
  • Loading branch information
fredroy committed Jan 22, 2025
1 parent f8d40ca commit 1d1cb7f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions SofaGLFW/src/SofaGLFW/SofaGLFWWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ void SofaGLFWWindow::close()

for(auto& background : m_backgrounds | std::views::values)
{
if(background.texture)
delete background.texture;
delete background.texture;
}

m_backgrounds.clear();
Expand Down

0 comments on commit 1d1cb7f

Please sign in to comment.