mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-27 11:12:44 +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 (
|
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{}
|
glyphBoundsCache = map[font.Face]map[rune]*fixed.Rectangle26_6{}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user