text: Fix comments

This commit is contained in:
Hajime Hoshi 2020-07-30 00:21:51 +09:00
parent 35d1c8ae7a
commit bb3a4cda22

View File

@ -60,7 +60,7 @@ func drawGlyph(dst *ebiten.Image, face font.Face, r rune, img *glyphImage, x, y
}
var (
// Use pointers to avoid copying on browsers.
// Use pointers as copying is expensive on GopherJS.
glyphBoundsCache = map[font.Face]map[rune]*fixed.Rectangle26_6{}
)