enumify: make all constants proper ziggified enums #56
No reviewers
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach!56
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "sg/enumify"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This makes all GLFW constants proper Zig enums, fixing hexops/mach#37
Also fixes some previously failing tests that were not included properly, and moves e.g.
glfw.mod.Modtoglfw.Mod@Avokadoen FYI this is a fairly large change, things are much nicer now but depending on how extensive your usage is you may need to update a bit. Hope that's okay :)
@slimsag Awesome work! 🥳
I'm still locked to my old fork for now. Having issue with vulkan in master branch. I haven't filed a issue since I am unsure exactly what is wrong, but it seems the upstream vulkan files and my system vulkan library is two different versions and it causes issues when i try to call
glfw.createWindowSurface(get error -7). 🤔@Avokadoen I'm not sure what -7 corresponds to, but you might be running into an issue I fixed just last night in
github.com/hexops/mach@c16d6bf615Also, I just published an example to confirm mach-glfw and vulkan-zig work well together, check it out: https://github.com/hexops/mach-glfw-vulkan-example
Awesome, I'll try to update asap! 😍