summaryrefslogtreecommitdiff
path: root/platform/haiku
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-11-09 13:01:29 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-11-09 13:02:26 -0300
commitd09160a8b67fdc60e8108962c4e9bd4c0bc7f13e (patch)
tree0985e60700a61ab8e1efe52c51393cf5319b7bae /platform/haiku
parente4effb4d53d5d6e53e4f0e0d14b243eb9a319272 (diff)
Make video mode initialization more intuitive, fixes #12022
Diffstat (limited to 'platform/haiku')
-rw-r--r--platform/haiku/os_haiku.cpp4
-rw-r--r--platform/haiku/os_haiku.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/platform/haiku/os_haiku.cpp b/platform/haiku/os_haiku.cpp
index 7a681d46f7..0c34e39655 100644
--- a/platform/haiku/os_haiku.cpp
+++ b/platform/haiku/os_haiku.cpp
@@ -79,10 +79,6 @@ const char *OS_Haiku::get_video_driver_name(int p_driver) const {
return "GLES2";
}
-OS::VideoMode OS_Haiku::get_default_video_mode() const {
- return OS::VideoMode(800, 600, false);
-}
-
void OS_Haiku::initialize(const VideoMode &p_desired, int p_video_driver, int p_audio_driver) {
main_loop = NULL;
current_video_mode = p_desired;
diff --git a/platform/haiku/os_haiku.h b/platform/haiku/os_haiku.h
index 501650c94f..86148f1fb4 100644
--- a/platform/haiku/os_haiku.h
+++ b/platform/haiku/os_haiku.h
@@ -65,7 +65,6 @@ private:
protected:
virtual int get_video_driver_count() const;
virtual const char *get_video_driver_name(int p_driver) const;
- virtual VideoMode get_default_video_mode() const;
virtual void initialize(const VideoMode &p_desired, int p_video_driver, int p_audio_driver);
virtual void finalize();