diff options
| author | Juan Linietsky | 2015-08-30 23:36:46 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2015-08-30 23:36:46 -0300 |
| commit | cf57a654d7d09fe169455ffc2049cd4bfec660f3 (patch) | |
| tree | 3b72d5e7d8b5c8eddddef09b924546c60c9c200d /core | |
| parent | 2d8866574dd2c06ac03e7055642b917a0a3c6dac (diff) | |
| download | godot-cf57a654d7d09fe169455ffc2049cd4bfec660f3.tar.gz godot-cf57a654d7d09fe169455ffc2049cd4bfec660f3.tar.zst godot-cf57a654d7d09fe169455ffc2049cd4bfec660f3.zip | |
new editor settings customization of where to run the game from the editor
Diffstat (limited to '')
| -rw-r--r-- | core/os/os.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/os/os.h b/core/os/os.h index e8ecfa105..d89734d7d 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -155,7 +155,7 @@ public: virtual int get_screen_count() const{ return 1; } virtual int get_current_screen() const { return 0; } virtual void set_current_screen(int p_screen) { } - virtual Point2 get_screen_position(int p_screen=0) { return Point2(); } + virtual Point2 get_screen_position(int p_screen=0) const { return Point2(); } virtual Size2 get_screen_size(int p_screen=0) const { return get_window_size(); } virtual Point2 get_window_position() const { return Vector2(); } virtual void set_window_position(const Point2& p_position) {} |
