Autorise le redimensionnement de la fenêtre

This commit is contained in:
Mattéo Delabre 2016-03-22 20:31:48 +01:00
parent 18c9019093
commit 7b278a6100
1 changed files with 1 additions and 2 deletions

View File

@ -4,8 +4,7 @@
#include <queue> #include <queue>
Engine::Engine() : window( Engine::Engine() : window(
sf::VideoMode(704, 480), "Projet CMI", sf::VideoMode(704, 480), "Projet CMI", sf::Style::Default,
sf::Style::Default & ~sf::Style::Resize,
sf::ContextSettings(0, 0, 2) sf::ContextSettings(0, 0, 2)
), view(sf::FloatRect(0, 0, 704, 480)){ ), view(sf::FloatRect(0, 0, 704, 480)){
window.setVerticalSyncEnabled(true); window.setVerticalSyncEnabled(true);