Browse Source

Change default window size for desktop

Fix #3149
George Marques 9 years ago
parent
commit
f4a39692b9
4 changed files with 4 additions and 4 deletions
  1. 1 1
      core/os/os.h
  2. 1 1
      platform/osx/os_osx.mm
  3. 1 1
      platform/windows/os_windows.cpp
  4. 1 1
      platform/x11/os_x11.cpp

+ 1 - 1
core/os/os.h

@@ -76,7 +76,7 @@ public:
 		bool fullscreen;
 		bool resizable;
 		float get_aspect() const { return (float)width/(float)height; }
-		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; }
+		VideoMode(int p_width=1024,int p_height=600,bool p_fullscreen=false, bool p_resizable = true) {width=p_width; height=p_height; fullscreen=p_fullscreen; resizable = p_resizable; }
 	};
 protected:
 friend class Main;

+ 1 - 1
platform/osx/os_osx.mm

@@ -839,7 +839,7 @@ const char * OS_OSX::get_video_driver_name(int p_driver) const {
 OS::VideoMode OS_OSX::get_default_video_mode() const {
 
 	VideoMode vm;
-	vm.width=800;
+	vm.width=1024;
 	vm.height=600;
 	vm.fullscreen=false;
 	vm.resizable=true;

+ 1 - 1
platform/windows/os_windows.cpp

@@ -149,7 +149,7 @@ const char * OS_Windows::get_video_driver_name(int p_driver) const {
 
 OS::VideoMode OS_Windows::get_default_video_mode() const {
 
-	return VideoMode(1280,720,false);
+	return VideoMode(1024,600,false);
 }
 
 int OS_Windows::get_audio_driver_count() const {

+ 1 - 1
platform/x11/os_x11.cpp

@@ -78,7 +78,7 @@ const char * OS_X11::get_video_driver_name(int p_driver) const {
 }
 
 OS::VideoMode OS_X11::get_default_video_mode() const {
-	return OS::VideoMode(1280,720,false);
+	return OS::VideoMode(1024,600,false);
 }
 
 int OS_X11::get_audio_driver_count() const {