int main() { // SFML guard // See http://sfgui.sfml-dev.de/forum/topic52-crash-on-close.html for more info. sfg::SFGUI sfgui; // Make sure app is destroyed before the guard. { SampleApp app; app.Run(); } return 0; }
int main() { SampleApp app; app.Run(); return 0; }