mirror of
https://github.com/Not-Nik/raylib-zig.git
synced 2025-09-09 12:07:27 +00:00
Silence OpenGL depreciation warnings on macOS
This commit is contained in:
parent
92f9aca743
commit
0fc7e68754
1
lib.zig
1
lib.zig
@ -10,6 +10,7 @@ pub fn Pkg(pkgdir: comptime []const u8) type {
|
|||||||
"-std=c99",
|
"-std=c99",
|
||||||
"-DPLATFORM_DESKTOP",
|
"-DPLATFORM_DESKTOP",
|
||||||
"-D_POSIX_C_SOURCE",
|
"-D_POSIX_C_SOURCE",
|
||||||
|
"-DGL_SILENCE_DEPRECATION"
|
||||||
};
|
};
|
||||||
const target_os = exe.target.toTarget().os.tag;
|
const target_os = exe.target.toTarget().os.tag;
|
||||||
switch (target_os) {
|
switch (target_os) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user