0 Members and 1 Guest are viewing this topic.
Code: [Select] // Process events sf::Event event; while (window.PollEvent(event)) { // Close window : exit if (event.Type == sf::Event::Closed) window.Close(); }
// Process events sf::Event event; while (window.PollEvent(event)) { // Close window : exit if (event.Type == sf::Event::Closed) window.Close(); }
http://www.sfml-dev.org/documentation/2.0/Quote from: "http://www.sfml-dev.org/documentation/2.0/"Code: [Select] // Process events sf::Event event; while (window.PollEvent(event)) { // Close window : exit if (event.Type == sf::Event::Closed) window.Close(); }