fix x86_64-linux-gnu build

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-03-08 23:44:33 -07:00
parent a433937d39
commit b7fb2057f7
3 changed files with 5 additions and 2 deletions

View file

@ -1317,7 +1317,7 @@ fn detectBackendType(allocator: std.mem.Allocator) !gpu.BackendType {
}
/// Check if gamemode should be activated
fn wantGamemode(allocator: std.mem.Allocator) error{ OutOfMemory, InvalidUtf8 }!bool {
fn wantGamemode(allocator: std.mem.Allocator) error{ OutOfMemory, InvalidUtf8, InvalidWtf8 }!bool {
const use_gamemode = std.process.getEnvVarOwned(
allocator,
"MACH_USE_GAMEMODE",