From 4c2b0715af4d9e5a7f62127f0dc25047a3aab130 Mon Sep 17 00:00:00 2001 From: Aiosa <469130@mail.muni.cz> Date: Thu, 19 Dec 2024 16:20:50 +0100 Subject: [PATCH] fix: typo --- src/webgldrawer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webgldrawer.js b/src/webgldrawer.js index 02be1db0..1ae21e80 100644 --- a/src/webgldrawer.js +++ b/src/webgldrawer.js @@ -247,7 +247,7 @@ $.console.warn("Attempt to draw tile %s when not cached!", tile); return undefined; } - const dataCache = cache.getDataForRendering(this, tile); + const dataCache = cache.getCacheForRendering(this, tile); // Use CPU Data for the drawer instead return dataCache && dataCache.data.cpuData.getContext("2d"); };