Change default window size for desktop

Fix #3149
This commit is contained in:
George Marques 2016-01-24 14:42:46 -02:00
parent 35a28f3442
commit f4a39692b9
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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 {

View File

@ -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 {