From 0fc7e6875439dd18bfb1c23eb87e662880c8fb8e Mon Sep 17 00:00:00 2001 From: Not-Nik Date: Wed, 27 May 2020 13:59:43 +1000 Subject: [PATCH] Silence OpenGL depreciation warnings on macOS --- lib.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/lib.zig b/lib.zig index 174e4db..c77b8e2 100644 --- a/lib.zig +++ b/lib.zig @@ -10,6 +10,7 @@ pub fn Pkg(pkgdir: comptime []const u8) type { "-std=c99", "-DPLATFORM_DESKTOP", "-D_POSIX_C_SOURCE", + "-DGL_SILENCE_DEPRECATION" }; const target_os = exe.target.toTarget().os.tag; switch (target_os) {