Skip to content

Commit 2b25820

Browse files
authored
Allow null pointer when changing font size (#73)
1 parent 7fa8081 commit 2b25820

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,9 +1393,9 @@ extern fn zguiGetFont() Font;
13931393
/// `pub fn getFontSize() f32`
13941394
pub const getFontSize = zguiGetFontSize;
13951395
extern fn zguiGetFontSize() f32;
1396-
/// `void pushFont(font: Font, font_size_base_unscaled: f32) void`
1396+
/// `void pushFont(font: ?Font, font_size_base_unscaled: f32) void`
13971397
pub const pushFont = zguiPushFont;
1398-
extern fn zguiPushFont(font: Font, font_size_base_unscaled: f32) void;
1398+
extern fn zguiPushFont(font: ?Font, font_size_base_unscaled: f32) void;
13991399
/// `void popFont() void`
14001400
pub const popFont = zguiPopFont;
14011401
extern fn zguiPopFont() void;

0 commit comments

Comments
 (0)