aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/canvas_item.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2015-04-20 19:38:02 -0300
committerJuan Linietsky2015-04-20 19:38:02 -0300
commit59154cccf9fcf814a21a2596993fb1b6777d3bb7 (patch)
tree4132620a9d924463dae4b64fea2dde68a14023e7 /scene/2d/canvas_item.cpp
parent28c4afeb5733f9ca9725ab2a5f4066af8e02b2a6 (diff)
downloadgodot-59154cccf9fcf814a21a2596993fb1b6777d3bb7.tar.gz
godot-59154cccf9fcf814a21a2596993fb1b6777d3bb7.tar.zst
godot-59154cccf9fcf814a21a2596993fb1b6777d3bb7.zip
-Changed Godot exit to be clean.
-Added more debug information on memory cleanliness on exit (if run with -v) -Fixed several memory leaks, fixes #1731, fixes #755
Diffstat (limited to 'scene/2d/canvas_item.cpp')
-rw-r--r--scene/2d/canvas_item.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/scene/2d/canvas_item.cpp b/scene/2d/canvas_item.cpp
index 489da9e55..09c5a2a2b 100644
--- a/scene/2d/canvas_item.cpp
+++ b/scene/2d/canvas_item.cpp
@@ -342,7 +342,6 @@ void CanvasItem::_update_callback() {
return;
}
-
VisualServer::get_singleton()->canvas_item_clear(get_canvas_item());
//todo updating = true - only allow drawing here
if (is_visible()) { //todo optimize this!!