#include <Windows.h>
#define SFML_STATIC
#include <SFML/Graphics.hpp>
#include <SFML/Window.hpp>
int CALLBACK WinMain(HINSTANCE, HINSTANCE, LPSTR, int) {
sf::RenderWindow window(sf::VideoMode(800, 600), "SFML Testbed");
window.setFramerateLimit(60);
bool run = true;
while(run) {
sf::Event event;
while(window.pollEvent(event)) {
if(event.type == sf::Event::Closed) {run = false;}
}
//logic
window.clear();
//draw
window.display();
}
return 0;
}