Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- sf::RenderWindow window(sf::VideoMode(960, 640), "proj v0.0.1");
- while (window.isOpen())
- {
- sf::Event event;
- while (window.pollEvent(event))
- {
- if (event.type == sf::Event::Closed)
- {
- window.close();
- }
- }
- window.clear(sf::Color::Black);
- window.display();
- }
- return 0;
- }
Add Comment
Please, Sign In to add comment