This commit is contained in:
Isaac Mills
2024-11-25 08:52:16 -07:00
parent 93bb473c55
commit 7368e063ca

View File

@ -41,7 +41,7 @@ pub const App = struct {
pub const Options = struct {}; pub const Options = struct {};
pub fn init(core_app: *CoreApp, _: Options) !App { pub fn init(core_app: *CoreApp, _: Options) !App {
internal_os.unsetenv("DISPLAY"); _ = internal_os.unsetenv("DISPLAY");
if (comptime builtin.target.isDarwin()) { if (comptime builtin.target.isDarwin()) {
log.warn("WARNING WARNING WARNING: GLFW ON MAC HAS BUGS.", .{}); log.warn("WARNING WARNING WARNING: GLFW ON MAC HAS BUGS.", .{});
log.warn("You should use the AppKit-based app instead. The official download", .{}); log.warn("You should use the AppKit-based app instead. The official download", .{});