mirror of
https://github.com/godotengine/godot
synced 2024-09-05 06:58:29 +00:00
Merge pull request #93494 from brno32/fix-headless-error
Add stub method for `mouse_get_position` in headless display server
This commit is contained in:
commit
6649a84f62
|
@ -153,6 +153,7 @@ public:
|
||||||
void tts_stop() override {}
|
void tts_stop() override {}
|
||||||
|
|
||||||
void mouse_set_mode(MouseMode p_mode) override {}
|
void mouse_set_mode(MouseMode p_mode) override {}
|
||||||
|
Point2i mouse_get_position() const override { return Point2i(); }
|
||||||
void clipboard_set(const String &p_text) override {}
|
void clipboard_set(const String &p_text) override {}
|
||||||
void clipboard_set_primary(const String &p_text) override {}
|
void clipboard_set_primary(const String &p_text) override {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue