summaryrefslogtreecommitdiff
path: root/scene/2d/canvas_item.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2018-12-11 18:05:19 +0100
committerGitHub <noreply@github.com>2018-12-11 18:05:19 +0100
commit3f9c0541630a168efc4acad541b95c4565580f46 (patch)
tree002ee4c41d11de3e9b885949226c4c5063e441c9 /scene/2d/canvas_item.h
parent4c41e29c8e796f97a714da784a7cecae8933b202 (diff)
parentc1f5233217f35d59849fc920f4147f9a8b3f0885 (diff)
Merge pull request #23887 from ibrahn/dirty-material-list-lifetime
Moved dirty material lists from static to lifetime controlled by main.
Diffstat (limited to 'scene/2d/canvas_item.h')
-rw-r--r--scene/2d/canvas_item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/canvas_item.h b/scene/2d/canvas_item.h
index 9fe7cb1e00..1a6016e6e1 100644
--- a/scene/2d/canvas_item.h
+++ b/scene/2d/canvas_item.h
@@ -109,7 +109,7 @@ private:
}
static Mutex *material_mutex;
- static SelfList<CanvasItemMaterial>::List dirty_materials;
+ static SelfList<CanvasItemMaterial>::List *dirty_materials;
SelfList<CanvasItemMaterial> element;
void _update_shader();