diff --git a/src/Ecran.cpp b/src/Ecran.cpp index 942bf1d..a0dcfb0 100644 --- a/src/Ecran.cpp +++ b/src/Ecran.cpp @@ -19,9 +19,12 @@ Ecran::Ecran(const uint w, const uint h, const std::string n, const bool pf) { } ++count; + sf::ContextSettings settings; + settings.antialiasingLevel = 8; + // CrĂ©ation de la fenĂȘtre SFML window.create(VideoMode(w, h + bottomTxtPadding), n, - Style::Titlebar | Style::Close); + Style::Titlebar | Style::Close, settings); fps = pf; }