diff options
author | Felix H. Dahlke <fhd@ubercode.de> | 2013-07-11 23:32:24 +0200 |
---|---|---|
committer | Felix H. Dahlke <fhd@ubercode.de> | 2013-07-11 23:32:24 +0200 |
commit | 07f56eb28d256f813ed6b8db9324f856d05e78d6 (patch) | |
tree | 0e092f01dca398cfdb969736b8e1310ed22c7110 /src/library_sdl.js | |
parent | 907a96af0c740dfa188cfb6dbce2e8ecf1f48859 (diff) |
Document canvasPool
Diffstat (limited to 'src/library_sdl.js')
-rw-r--r-- | src/library_sdl.js | 1 |
1 files changed, 1 insertions, 0 deletions
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], |