Lissage des textures

This commit is contained in:
Mattéo Delabre 2016-04-11 01:04:50 +02:00
parent 871fe9ff48
commit a04e5b097b
1 changed files with 1 additions and 0 deletions

View File

@ -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)) {