mach/glfw/src
InKryption cb4f911782 glfw: Fix pointer cast
The GLFW implementation takes a constant pointer to a `VkAllocationCallbacks` struct; casting it to a mutable pointer equivalent here doesn't break anything, but does prevent passing a valid const pointer, which is often what one should prefer to do.
As well, the `@alignOf` builtin takes the alignment expected of the type directly, so `@alignOf(*T)` returns the alignment of `*T`, not `T`, so that has also been corrected.
2021-11-29 12:52:46 -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: update possible errors comment 2021-11-23 11:07:14 -07:00
Cursor.zig glfw: Eliminate InvalidEnum 2021-11-24 05:14:48 -07:00
errors.zig glfw: Finalize removal of 'InvalidEnum' error 2021-11-24 05:14:48 -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: add GammaRamp type 2021-07-17 21:29:51 -07:00
hat.zig glfw: add Hat.toInt / Hat.fromInt tests, fix bug 2021-10-30 20:06:03 -07:00
Image.zig glfw: add Image type 2021-07-20 21:00:05 -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: Eliminate Error.InvalidValue 2021-11-26 20:50:38 -07:00
key.zig glfw: Eliminate InvalidEnum 2021-11-24 05:14:48 -07:00
main.zig glfw: Eliminate Error.InvalidValue 2021-11-26 20:50:38 -07:00
mod.zig glfw: fix failing Mod bitmask tests, make fromInt/toInt work on non-6-bit integers 2021-10-30 20:06:03 -07:00
Monitor.zig glfw: Eliminate Error.InvalidValue 2021-11-26 20:50:38 -07:00
mouse_button.zig glfw: make mouse buttons a proper enum 2021-10-30 20:06:03 -07:00
opengl.zig glfw: update system_sdk to match latest Zig master macOS version targeting 2021-11-27 00:15:15 -07:00
time.zig glfw: un-hardcode constant 2021-11-26 22:13:47 -07:00
version.zig glfw: deduplicate @cImport for type equivalence 2021-07-17 20:14:09 -07:00
VideoMode.zig glfw: fix and test VideoMode getters 2021-07-17 20:56:48 -07:00
vulkan.zig glfw: Fix pointer cast 2021-11-29 12:52:46 -07:00
Window.zig glfw: update system_sdk to match latest Zig master macOS version targeting 2021-11-27 00:15:15 -07:00