mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
parent
35a28f3442
commit
f4a39692b9
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user