mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
text: Fix comments
This commit is contained in:
parent
35d1c8ae7a
commit
bb3a4cda22
@ -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{}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user