Sfoglia il codice sorgente

SFML: set default window size to 640x480

Streetwalrus Einstein 10 anni fa
parent
commit
b094cd66bc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      platform/sfml/Graphics.cpp

+ 1 - 1
platform/sfml/Graphics.cpp

@@ -12,7 +12,7 @@ sf::RenderTexture buffer;
 
 void GRAPHICS::init()
 {
-    window.create(sf::VideoMode(320, 240), "WalrusRPG");
+    window.create(sf::VideoMode(640, 480), "WalrusRPG");
     view = sf::View(window.getDefaultView());
     buffer.create(320, 240);
 }