Skip to content

Commit

Permalink
Add smoothing and mipmap
Browse files Browse the repository at this point in the history
  • Loading branch information
oomek committed Dec 14, 2024
1 parent b54f27f commit 06f3d24
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/fe_image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,9 @@ bool FeTextureContainer::try_to_load(

// sf::Clock clk;
m_texture = al.get_resource_texture( loaded_name );
if ( m_mipmap ) m_texture->generateMipmap();
m_texture->setSmooth( m_smooth );

// FeLog() << "FeTextureContainer::try_to_load( " << filename << " ) took " << clk.getElapsedTime().asMicroseconds() << std::endl;

m_file_name = loaded_name;
Expand Down

0 comments on commit 06f3d24

Please sign in to comment.