mach/glfw/src
Stephen Gutekanst 646560c834 glfw: remove alignment from packed structs / fix compilation with latest Zig
Not sure why we had these here, but alignment on a packed struct seems somewhat
nonsensical (after all, it's fields are packed as closely together as possible
so what would alignment refer to?) removing seems fine and fixes compilation with
latest Zig:

```
/Users/slimsag/Desktop/hexops/mach/gpu-dawn/libs/mach-glfw/src/hat.zig:8:20: error: unable to override alignment of packed struct fields
    up: bool align(@alignOf(u8)) = false,
                   ^
/Users/slimsag/Desktop/hexops/mach/gpu-dawn/libs/mach-glfw/src/mod.zig:10:23: error: unable to override alignment of packed struct fields
    shift: bool align(@alignOf(c_int)) = false,
```                      ^

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-03-04 15:48:40 -07:00
..
action.zig glfw: ziggify gamepad action enumerations 2021-10-30 20:06:03 -07:00
c.zig glfw: add glfw.getInstanceProcAddress 2021-10-16 18:39:57 -07:00
clipboard.zig glfw: document why unreachable is valid 2022-02-11 15:09:09 -07:00
Cursor.zig glfw: document why unreachable is valid 2022-02-11 15:09:09 -07:00
errors.zig glfw: use comptime magic to remove InternalUserPointer and associated overhead 2022-02-11 15:13:58 -07:00
gamepad_axis.zig glfw: ziggify gamepad button enumerations 2021-10-30 20:06:03 -07:00
gamepad_button.zig glfw: ziggify gamepad button enumerations 2021-10-30 20:06:03 -07:00
GammaRamp.zig glfw: update system_sdk.zig to latest Zig master 2021-12-06 20:03:38 -08:00
hat.zig glfw: remove alignment from packed structs / fix compilation with latest Zig 2022-03-04 15:48:40 -07:00
Image.zig glfw: replace isize, usize with i32, u32 where appropriate (#126) 2021-12-14 09:20:14 -07:00
internal_debug.zig glfw: amend and update various TODOs pertaining to force-init changes 2021-11-22 12:59:11 -07:00
Joystick.zig glfw: use comptime magic to remove InternalUserPointer and associated overhead 2022-02-11 15:13:58 -07:00
key.zig glfw: document why unreachable is valid 2022-02-11 15:09:09 -07:00
main.zig glfw: expose Native BackendOptions 2022-02-26 23:34:17 -07:00
mod.zig glfw: remove alignment from packed structs / fix compilation with latest Zig 2022-03-04 15:48:40 -07:00
Monitor.zig glfw: use comptime magic to remove InternalUserPointer and associated overhead 2022-02-11 15:13:58 -07:00
mouse_button.zig glfw: make mouse buttons a proper enum 2021-10-30 20:06:03 -07:00
native.zig glfw: correct getCocoaWindow return type 2022-02-26 23:34:17 -07:00
opengl.zig glfw: use comptime magic to remove InternalUserPointer and associated overhead 2022-02-11 15:13:58 -07:00
sources_all.c glfw: reduce compilation units to bring iteration time down to ~90ms 2021-12-10 03:52:41 -08:00
sources_linux.c add wayland cross-compilation support (#140) 2021-12-24 01:06:51 -07:00
sources_linux_wayland.c add wayland cross-compilation support (#140) 2021-12-24 01:06:51 -07:00
sources_linux_x11.c add wayland cross-compilation support (#140) 2021-12-24 01:06:51 -07:00
sources_macos.c glfw: reduce compilation units to bring iteration time down to ~90ms 2021-12-10 03:52:41 -08:00
sources_macos.m glfw: reduce compilation units to bring iteration time down to ~90ms 2021-12-10 03:52:41 -08:00
sources_windows.c glfw: reduce compilation units to bring iteration time down to ~90ms 2021-12-10 03:52:41 -08:00
time.zig glfw: document why unreachable is valid 2022-02-11 15:09:09 -07:00
version.zig glfw: deduplicate @cImport for type equivalence 2021-07-17 20:14:09 -07:00
VideoMode.zig glfw: replace isize, usize with i32, u32 where appropriate (#126) 2021-12-14 09:20:14 -07:00
vulkan.zig glfw: document why unreachable is valid 2022-02-11 15:09:09 -07:00
Window.zig glfw: use comptime magic to remove InternalUserPointer and associated overhead 2022-02-11 15:13:58 -07:00