diff options
Diffstat (limited to 'platform/haiku')
-rw-r--r-- | platform/haiku/context_gl_haiku.cpp | 2 | ||||
-rw-r--r-- | platform/haiku/context_gl_haiku.h | 4 | ||||
-rw-r--r-- | platform/haiku/godot_haiku.cpp | 8 | ||||
-rw-r--r-- | platform/haiku/key_mapping_haiku.cpp | 2 | ||||
-rw-r--r-- | platform/haiku/os_haiku.cpp | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/platform/haiku/context_gl_haiku.cpp b/platform/haiku/context_gl_haiku.cpp index 21107a52a4..330046162d 100644 --- a/platform/haiku/context_gl_haiku.cpp +++ b/platform/haiku/context_gl_haiku.cpp @@ -38,6 +38,6 @@ int ContextGL_Haiku::get_window_width() { int ContextGL_Haiku::get_window_height() { return window->Bounds().IntegerHeight(); -} +} #endif diff --git a/platform/haiku/context_gl_haiku.h b/platform/haiku/context_gl_haiku.h index e37fe14970..63caec6fb3 100644 --- a/platform/haiku/context_gl_haiku.h +++ b/platform/haiku/context_gl_haiku.h @@ -18,8 +18,8 @@ public: ~ContextGL_Haiku(); virtual Error initialize(); - virtual void release_current(); - virtual void make_current(); + virtual void release_current(); + virtual void make_current(); virtual void swap_buffers(); virtual int get_window_width(); virtual int get_window_height(); diff --git a/platform/haiku/godot_haiku.cpp b/platform/haiku/godot_haiku.cpp index b4e5e50891..fa5651d89a 100644 --- a/platform/haiku/godot_haiku.cpp +++ b/platform/haiku/godot_haiku.cpp @@ -3,17 +3,17 @@ int main(int argc, char* argv[]) { OS_Haiku os; - + Error error = Main::setup(argv[0], argc-1, &argv[1]); if (error != OK) { return 255; } - + if (Main::start()) { os.run(); } - + Main::cleanup(); - + return os.get_exit_code(); } diff --git a/platform/haiku/key_mapping_haiku.cpp b/platform/haiku/key_mapping_haiku.cpp index 1c0584523a..f0622d3f1d 100644 --- a/platform/haiku/key_mapping_haiku.cpp +++ b/platform/haiku/key_mapping_haiku.cpp @@ -70,7 +70,7 @@ static _HaikuTranslatePair _hb_to_keycode[] = { { KEY_INSERT, B_INSERT }, { KEY_DELETE, B_DELETE }, // { KEY_HELP, ??? }, - + { KEY_0, (0x30) }, { KEY_1, (0x31) }, { KEY_2, (0x32) }, diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp index ef483657ca..308800cec0 100644 --- a/platform/haiku/os_haiku.cpp +++ b/platform/haiku/os_haiku.cpp @@ -138,7 +138,7 @@ void OS_Haiku::finalize() { memdelete(spatial_sound_2d_server); memdelete(sample_manager); - + audio_server->finish(); memdelete(audio_server); |