Skip to content

Commit ca22cd8

Browse files
authored
Fix FontConfig after upgrade to new ImGui version. (#16)
1 parent 6763f8a commit ca22cd8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/gui.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,17 +175,17 @@ pub const FontConfig = extern struct {
175175
font_data: ?*anyopaque,
176176
font_data_size: c_int,
177177
font_data_owned_by_atlas: bool,
178+
merge_mode: bool,
179+
pixel_snap_h: bool,
178180
font_no: c_int,
179-
size_pixels: f32,
180181
oversample_h: c_int,
181182
oversample_v: c_int,
182-
pixel_snap_h: bool,
183+
size_pixels: f32,
183184
glyph_extra_spacing: [2]f32,
184185
glyph_offset: [2]f32,
185186
glyph_ranges: [*c]u16,
186187
glyph_min_advance_x: f32,
187188
glyph_max_advance_x: f32,
188-
merge_mode: bool,
189189
font_builder_flags: FontBuilderFlags,
190190
rasterizer_multiply: f32,
191191
rasterizer_density: f32,

0 commit comments

Comments
 (0)