parent
35a28f3442
commit
f4a39692b9
4 changed files with 4 additions and 4 deletions
|
@ -76,7 +76,7 @@ public:
|
||||||
bool fullscreen;
|
bool fullscreen;
|
||||||
bool resizable;
|
bool resizable;
|
||||||
float get_aspect() const { return (float)width/(float)height; }
|
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:
|
protected:
|
||||||
friend class Main;
|
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 {
|
OS::VideoMode OS_OSX::get_default_video_mode() const {
|
||||||
|
|
||||||
VideoMode vm;
|
VideoMode vm;
|
||||||
vm.width=800;
|
vm.width=1024;
|
||||||
vm.height=600;
|
vm.height=600;
|
||||||
vm.fullscreen=false;
|
vm.fullscreen=false;
|
||||||
vm.resizable=true;
|
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 {
|
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 {
|
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 {
|
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 {
|
int OS_X11::get_audio_driver_count() const {
|
||||||
|
|
Loading…
Reference in a new issue