summaryrefslogtreecommitdiff
path: root/platform/haiku/os_haiku.h
diff options
context:
space:
mode:
authorEmmanuel Leblond <emmanuel.leblond@gmail.com>2018-01-03 18:26:44 +0100
committerRĂ©mi Verschelde <rverschelde@gmail.com>2018-01-04 15:15:55 +0100
commite315c94900be47e61152a2958011e14b7e635a3e (patch)
tree9fbe974664cd253d3fdd0792db0b7b5f91cfcde6 /platform/haiku/os_haiku.h
parent99eb394a5f5f164a562e315980cb730a704a0a1c (diff)
Change OS::initialize signature to return Error (fix segfault on x11)
Diffstat (limited to 'platform/haiku/os_haiku.h')
-rw-r--r--platform/haiku/os_haiku.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/haiku/os_haiku.h b/platform/haiku/os_haiku.h
index 6d69c1997f..9af15eefc0 100644
--- a/platform/haiku/os_haiku.h
+++ b/platform/haiku/os_haiku.h
@@ -66,7 +66,7 @@ protected:
virtual int get_video_driver_count() const;
virtual const char *get_video_driver_name(int p_driver) const;
- virtual void initialize(const VideoMode &p_desired, int p_video_driver, int p_audio_driver);
+ virtual Error initialize(const VideoMode &p_desired, int p_video_driver, int p_audio_driver);
virtual void finalize();
virtual void set_main_loop(MainLoop *p_main_loop);