build.zig: run zig fmt
This commit is contained in:
parent
a5639bb186
commit
3d792f3363
1 changed files with 17 additions and 20 deletions
|
@ -192,7 +192,6 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
|
|||
setDesktopPlatform(raylib, options.platform);
|
||||
},
|
||||
.linux => {
|
||||
|
||||
if (options.platform == .drm) {
|
||||
if (options.opengl_version == .auto) {
|
||||
raylib.linkSystemLibrary("GLESv2");
|
||||
|
@ -213,9 +212,7 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
|
|||
.linux => "linux-x86_64",
|
||||
.windows => "windows-x86_64",
|
||||
.macos => "darwin-x86_64",
|
||||
else => {
|
||||
@panic("unsupported host OS");
|
||||
}
|
||||
else => @panic("unsupported host OS"),
|
||||
};
|
||||
|
||||
const androidTriple = try target.result.linuxTriple(b.allocator);
|
||||
|
@ -442,7 +439,7 @@ pub const PlatformBackend = enum {
|
|||
rgfw,
|
||||
sdl,
|
||||
drm,
|
||||
android
|
||||
android,
|
||||
};
|
||||
|
||||
pub fn build(b: *std.Build) !void {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue