We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a74697c commit 2d6ecf3Copy full SHA for 2d6ecf3
1 file changed
src/Raylib.NET.Native/build.zig
@@ -74,13 +74,18 @@ pub fn build(b: *std.Build) !void {
74
else
75
rl.OpenglVersion.gl_4_3;
76
77
+ const platform = if (target.result.os.tag == .emscripten)
78
+ rl.Platform.glfw
79
+ else
80
+ rl.Platform.sdl3;
81
+
82
// Get raylib options for configuring the build
83
const options = rl.Options{
84
.linkage = linkage,
85
.raygui = true,
86
.linux_display_backend = .Wayland,
87
.opengl_version = opengl_version,
- .platform = .sdl3
88
+ .platform = platform
89
};
90
91
// Build raylib with raygui using raylib's build system
0 commit comments