-
-
Notifications
You must be signed in to change notification settings - Fork 177
glfw PlatformError when running glfw examples #751
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Probably unrelated, but disabling const zglfw = b.dependency("zglfw", .{
.target = options.target,
.x11 = false,
});
(on opengl examples doing this still produces platform error, but now the executable doesn't depend on libX11) |
It's a completely different errors if I switch from wayland session to x11:
And if I add
|
Solved by setting up error callback ( |
Thanks for documenting, this might be useful to other nix users. I will leave this open and look to improve the experience. As for cursor alignment, we have some issues with DPI scaling, please see zig-gamedev/zgui#34 |
Uh oh!
There was an error while loading. Please reload this page.
On nixos (had to use
nix-shell
withxorg.libX11
solibX11.so.6
would get resolved).(I used upgrade-zig branch (
14758e6
).The text was updated successfully, but these errors were encountered: