diff --git a/src/Ecran.cpp b/src/Ecran.cpp index 084d09c..2ef6390 100644 --- a/src/Ecran.cpp +++ b/src/Ecran.cpp @@ -12,9 +12,6 @@ Ecran::~Ecran() {} void Ecran::afficher( const std::function dessin, const std::function onLeftClick) const { - // Flag qui track si le clic gauche est pressé - bool mouseButtonPressed = false; - while (window.isOpen()) { sf::Event event; while (window.pollEvent(event)) {