summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-09-05 00:30:39 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-09-05 00:30:39 -0300
commit2802dced84f6a1a42d1be566b8d358e2fd17f976 (patch)
tree1e9b9089bdc5f41101294a9d8b6a59902a496a47 /scene
parente611ff5f0110210221a6f90250bdd65f5fb3ff2d (diff)
Automatically redraw when shaders using TIME are visible, fixes #10554
Diffstat (limited to 'scene')
-rw-r--r--scene/2d/canvas_item.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/canvas_item.cpp b/scene/2d/canvas_item.cpp
index 4f00966e75..a7c5d1adbb 100644
--- a/scene/2d/canvas_item.cpp
+++ b/scene/2d/canvas_item.cpp
@@ -37,6 +37,7 @@
#include "scene/resources/style_box.h"
#include "scene/resources/texture.h"
#include "scene/scene_string_names.h"
+#include "servers/visual/visual_server_raster.h"
#include "servers/visual_server.h"
Mutex *CanvasItemMaterial::material_mutex = NULL;