Autorise le redimensionnement de la fenêtre
This commit is contained in:
parent
18c9019093
commit
7b278a6100
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue