summaryrefslogtreecommitdiff
path: root/servers/visual/rasterizer.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2019-06-13 22:37:19 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2019-06-15 23:53:39 +0200
commit786a7341a7443390e2c98ff7fe00a995f4d8cf67 (patch)
tree826e249ec431e737f89569dd3b7ede3ba56afc19 /servers/visual/rasterizer.h
parentbd937ea397e23e5462cd8dd606dab1432d702d0c (diff)
Add an option to disable boot splash filtering
Disabling filtering is usually desired in projects using a pixel art style. This closes #19415.
Diffstat (limited to 'servers/visual/rasterizer.h')
-rw-r--r--servers/visual/rasterizer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h
index 31888261ec..77ab1b5548 100644
--- a/servers/visual/rasterizer.h
+++ b/servers/visual/rasterizer.h
@@ -1103,7 +1103,7 @@ public:
virtual RasterizerCanvas *get_canvas() = 0;
virtual RasterizerScene *get_scene() = 0;
- virtual void set_boot_image(const Ref<Image> &p_image, const Color &p_color, bool p_scale) = 0;
+ virtual void set_boot_image(const Ref<Image> &p_image, const Color &p_color, bool p_scale, bool p_use_filter = true) = 0;
virtual void initialize() = 0;
virtual void begin_frame(double frame_step) = 0;