mach: Create binding methods for all glfw methods in use and update

examples
This commit is contained in:
iddev5 2022-05-12 12:54:01 +05:30 committed by Stephen Gutekanst
parent 9106a9839d
commit 8b46f46cf8
11 changed files with 62 additions and 24 deletions

9
src/structs.zig Normal file
View file

@ -0,0 +1,9 @@
pub const Size = struct {
width: u32,
height: u32,
};
pub const SizeOptional = struct {
width: ?u32,
height: ?u32,
};