Merge pull request #44463 from madmiraal/remove-os-can_draw

Remove OS::can_draw() remnants
This commit is contained in:
Rémi Verschelde 2020-12-17 18:52:58 +01:00 committed by GitHub
commit 2c0d1c3b91
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 0 additions and 11 deletions

View file

@ -150,10 +150,6 @@ void OS_Server::set_main_loop(MainLoop *p_main_loop) {
input->set_main_loop(p_main_loop);
}
bool OS_Server::can_draw() const {
return false; //can never draw
};
String OS_Server::get_name() const {
return "Server";
}

View file

@ -89,8 +89,6 @@ public:
virtual MainLoop *get_main_loop() const;
virtual bool can_draw() const;
virtual void set_video_mode(const VideoMode &p_video_mode, int p_screen = 0);
virtual VideoMode get_video_mode(int p_screen = 0) const;
virtual void get_fullscreen_mode_list(List<VideoMode> *p_list, int p_screen = 0) const;

View file

@ -156,10 +156,6 @@ void OS_UWP::initialize_core() {
cursor_shape = CURSOR_ARROW;
}
bool OS_UWP::can_draw() const {
return !minimized;
};
void OS_UWP::set_window(Windows::UI::Core::CoreWindow ^ p_window) {
window = p_window;
}

View file

@ -194,7 +194,6 @@ public:
virtual TimeZoneInfo get_time_zone_info() const;
virtual uint64_t get_unix_time() const;
virtual bool can_draw() const;
virtual Error set_cwd(const String &p_cwd);
virtual void delay_usec(uint32_t p_usec) const;