Compare commits

1 Commits

Author SHA1 Message Date
Hubert Jarosz
d79bfba7ec remove trailing whitespace
(cherry picked from commit 4a4f2479146aa33e235ed57cde311efda68d3c8f)
2016-04-02 22:03:48 +02:00
5 changed files with 9 additions and 9 deletions

View File

@@ -38,6 +38,6 @@ int ContextGL_Haiku::get_window_width() {
int ContextGL_Haiku::get_window_height() {
return window->Bounds().IntegerHeight();
}
}
#endif

View File

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

View File

@@ -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();
}

View File

@@ -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) },

View File

@@ -138,7 +138,7 @@ void OS_Haiku::finalize() {
memdelete(spatial_sound_2d_server);
memdelete(sample_manager);
audio_server->finish();
memdelete(audio_server);