From 5a584fa578fb062b1604ec90fb2b921108a139f9 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 17 Aug 2021 14:56:11 +0200 Subject: [PATCH] Added a small comment. --- tiled_wall/tiled_wall_data.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tiled_wall/tiled_wall_data.cpp b/tiled_wall/tiled_wall_data.cpp index 1eb581c..67db9c3 100644 --- a/tiled_wall/tiled_wall_data.cpp +++ b/tiled_wall/tiled_wall_data.cpp @@ -267,6 +267,8 @@ void TiledWallData::add_textures_into(Ref texture_packer) { #endif void TiledWallData::setup_cache(Ref cache) { + //Note: the caller should lock and unlock the cache! + call("_setup_cache", cache); } void TiledWallData::_setup_cache(Ref cache) {