Skip to content

0.1-alpha.4

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Aug 04:46
· 74 commits to main since this release
  • fix: massive memory leak after quit (#14)

Calling canvas.quit() would still continue the event loop...saturating the task buffer causing a leak.

  • feat: load image surface (#16)
// png or jpeg
// for bitmap, use canvas.loadBitmap("player.bmp")
const surface = canvas.loadSurface("player.png");
const texture = canvas.createTextureFromSurface(surface);