summaryrefslogtreecommitdiffstats
path: root/servers/display_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/display_server.h')
-rw-r--r--servers/display_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/display_server.h b/servers/display_server.h
index 8f2df62094..d8e67b4f92 100644
--- a/servers/display_server.h
+++ b/servers/display_server.h
@@ -301,6 +301,7 @@ public:
}
virtual float screen_get_refresh_rate(int p_screen = SCREEN_OF_MAIN_WINDOW) const = 0;
virtual Color screen_get_pixel(const Point2i &p_position) const { return Color(); };
+ virtual Ref<Image> screen_get_image(int p_screen = SCREEN_OF_MAIN_WINDOW) const { return Ref<Image>(); };
virtual bool is_touchscreen_available() const;
// Keep the ScreenOrientation enum values in sync with the `display/window/handheld/orientation`