summaryrefslogtreecommitdiff
path: root/core/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/image.h')
-rw-r--r--core/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/image.h b/core/image.h
index 790c5de9f6..bc536dcc88 100644
--- a/core/image.h
+++ b/core/image.h
@@ -304,7 +304,7 @@ public:
DetectChannels get_detected_channels();
- Color get_pixel(int p_x, int p_y);
+ Color get_pixel(int p_x, int p_y) const;
void put_pixel(int p_x, int p_y, const Color &p_color);
void copy_internals_from(const Ref<Image> &p_image) {