summaryrefslogtreecommitdiff
path: root/platform/server
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/server
parente4effb4d53d5d6e53e4f0e0d14b243eb9a319272 (diff)
Make video mode initialization more intuitive, fixes #12022
Diffstat (limited to 'platform/server')
-rw-r--r--platform/server/os_server.cpp4
-rw-r--r--platform/server/os_server.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/platform/server/os_server.cpp b/platform/server/os_server.cpp
index 80c04aa5ad..ca73f610e4 100644
--- a/platform/server/os_server.cpp
+++ b/platform/server/os_server.cpp
@@ -46,10 +46,6 @@ const char *OS_Server::get_video_driver_name(int p_driver) const {
return "Dummy";
}
-OS::VideoMode OS_Server::get_default_video_mode() const {
-
- return OS::VideoMode(800, 600, false);
-}
void OS_Server::initialize(const VideoMode &p_desired, int p_video_driver, int p_audio_driver) {
diff --git a/platform/server/os_server.h b/platform/server/os_server.h
index 630c82ccdd..03f7c2a6c8 100644
--- a/platform/server/os_server.h
+++ b/platform/server/os_server.h
@@ -66,7 +66,6 @@ class OS_Server : public OS_Unix {
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();