From cf57a654d7d09fe169455ffc2049cd4bfec660f3 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Sun, 30 Aug 2015 23:36:46 -0300 Subject: new editor settings customization of where to run the game from the editor --- core/os/os.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/os/os.h') 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) {} -- cgit v1.2.3-70-g09d2