Change OS::initialize signature to return Error (fix segfault on x11)
This commit is contained in:
committed by
Rémi Verschelde
parent
99eb394a5f
commit
e315c94900
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user