fix typo
parent
b0a96bfc77
commit
5c54ba758e
|
@ -159,8 +159,8 @@ C: font ( handle -- font )
|
||||||
font-ascent swap glyph-hori-bearing-y - ft-floor 0 3array ;
|
font-ascent swap glyph-hori-bearing-y - ft-floor 0 3array ;
|
||||||
|
|
||||||
: glyph-texture-size ( glyph -- dim )
|
: glyph-texture-size ( glyph -- dim )
|
||||||
dup glyph-bitmap-width
|
dup glyph-bitmap-width next-power-of-2
|
||||||
swap glyph-bitmap-rows 0 3array ;
|
swap glyph-bitmap-rows next-power-of-2 0 3array ;
|
||||||
|
|
||||||
: <char-sprite> ( font char -- sprite )
|
: <char-sprite> ( font char -- sprite )
|
||||||
#! Create a new display list of a rendered glyph. This
|
#! Create a new display list of a rendered glyph. This
|
||||||
|
|
Loading…
Reference in New Issue