summaryrefslogtreecommitdiff
path: root/platform/osx
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-09 23:36:08 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-11-09 23:36:08 +0100
commited57f0a0d40e7fa8dde222c48cd5649d3f80008e (patch)
treee25a7a5ce877126b8d8bd8f7a1d1b5a782d90ada /platform/osx
parent9e6f9742f4443b0fdb7593ea1fc1b3a7dd46409c (diff)
Remove get_default_video_mode definition on OSX/iOS
It had been missed in d09160a8b67fdc60e8108962c4e9bd4c0bc7f13e and broke compilation for those platforms. Took the opportunity to run clang-format on the code base to fix some corner cases that went through our static tests/were overlooked recently.
Diffstat (limited to 'platform/osx')
-rw-r--r--platform/osx/os_osx.mm10
1 files changed, 0 insertions, 10 deletions
diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm
index 78acc97676..6faa8e12ed 100644
--- a/platform/osx/os_osx.mm
+++ b/platform/osx/os_osx.mm
@@ -899,16 +899,6 @@ const char *OS_OSX::get_video_driver_name(int p_driver) const {
return "GLES2";
}
-OS::VideoMode OS_OSX::get_default_video_mode() const {
-
- VideoMode vm;
- vm.width = 1024;
- vm.height = 600;
- vm.fullscreen = false;
- vm.resizable = true;
- return vm;
-}
-
void OS_OSX::initialize_core() {
crash_handler.initialize();