Skip to content

Commit

Permalink
Remove OS::can_draw() remnants
Browse files Browse the repository at this point in the history
  • Loading branch information
madmiraal committed Dec 17, 2020
1 parent c83d1b2 commit 60ddca2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 11 deletions.
4 changes: 0 additions & 4 deletions platform/server/os_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down
2 changes: 0 additions & 2 deletions platform/server/os_server.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ class OS_Server : public OS_Unix {

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;
Expand Down
4 changes: 0 additions & 4 deletions platform/uwp/os_uwp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
1 change: 0 additions & 1 deletion platform/uwp/os_uwp.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ class OS_UWP : public OS {
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;
Expand Down

0 comments on commit 60ddca2

Please sign in to comment.