Silence OpenGL depreciation warnings on macOS
This commit is contained in:
parent
92f9aca743
commit
0fc7e68754
1 changed files with 1 additions and 0 deletions
1
lib.zig
1
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue