From 07f56eb28d256f813ed6b8db9324f856d05e78d6 Mon Sep 17 00:00:00 2001 From: "Felix H. Dahlke" Date: Thu, 11 Jul 2013 23:32:24 +0200 Subject: Document canvasPool --- src/library_sdl.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/library_sdl.js') diff --git a/src/library_sdl.js b/src/library_sdl.js index eb582273..b7525899 100644 --- a/src/library_sdl.js +++ b/src/library_sdl.js @@ -21,6 +21,7 @@ var LibrarySDL = { version: null, surfaces: {}, + // A pool of freed canvas elements. Reusing them avoids GC pauses. canvasPool: [], events: [], fonts: [null], -- cgit v1.2.3-18-g5258