Lissage des textures
This commit is contained in:
parent
871fe9ff48
commit
a04e5b097b
|
@ -32,6 +32,7 @@ void ResourceManager::preload() {
|
|||
std::string name = it->path().filename().string();
|
||||
|
||||
auto texture = std::unique_ptr<sf::Texture>(new sf::Texture);
|
||||
texture->setSmooth(true);
|
||||
std::cout << "Chargement de la texture " << name << "... ";
|
||||
|
||||
if (!texture->loadFromFile(full_path)) {
|
||||
|
|
Loading…
Reference in New Issue