summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-12-12 12:06:53 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-12-12 12:06:53 -0300
commitcc7880fba55e945b8a37fa8aca5a7faa065d3f6c (patch)
treed11f3fe14ca59d89ede9057332dd316328976a69 /core/os
parentec8f0d7eb9a5d5842e54618a4f4f31952a1d1ede (diff)
-added windowed mode with -w, fixes #3020
-changed default windowed resolution to 1280x720
Diffstat (limited to 'core/os')
-rw-r--r--core/os/os.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os.h b/core/os/os.h
index e908177df7..ab1a07276c 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -75,7 +75,7 @@ public:
bool fullscreen;
bool resizable;
float get_aspect() const { return (float)width/(float)height; }
- VideoMode(int p_width=640,int p_height=480,bool p_fullscreen=false, bool p_resizable = true) {width=p_width; height=p_height; fullscreen=p_fullscreen; resizable = p_resizable; }
+ VideoMode(int p_width=1280,int p_height=720,bool p_fullscreen=false, bool p_resizable = true) {width=p_width; height=p_height; fullscreen=p_fullscreen; resizable = p_resizable; }
};
protected:
friend class Main;