diff --git a/src/video/texture_cache.js b/src/video/texture_cache.js
index <HASH>..<HASH> 100644
--- a/src/video/texture_cache.js
+++ b/src/video/texture_cache.js
@@ -60,11 +60,9 @@ class TextureCache {
     /**
      * @ignore
      */
-    remove(image) {
+    delete(image) {
         if (!this.cache.has(image)) {
-            if (this.cache.remove(image) === true) {
-                this.length--;
-            }
+            this.cache.delete(image);
         }
     }
fix & rename internal cache delete function

only decrease length when removing a texture unit cache, and not image.