freetype: reduce code size
This commit is contained in:
parent
643753c80a
commit
a1f756b4cd
3 changed files with 9 additions and 15 deletions
|
|
@ -18,7 +18,6 @@ pub const BBox = extern struct {
|
|||
xMax: c_long,
|
||||
yMax: c_long,
|
||||
};
|
||||
|
||||
pub const RenderMode = enum(u3) {
|
||||
normal = c.FT_RENDER_MODE_NORMAL,
|
||||
light = c.FT_RENDER_MODE_LIGHT,
|
||||
|
|
@ -27,7 +26,6 @@ pub const RenderMode = enum(u3) {
|
|||
lcd_v = c.FT_RENDER_MODE_LCD_V,
|
||||
sdf = c.FT_RENDER_MODE_SDF,
|
||||
};
|
||||
|
||||
pub const OpenFlags = packed struct {
|
||||
memory: bool = false,
|
||||
stream: bool = false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue