Merge pull request #1447 from phillvancejr/master

Added vendor glfw support for Mac OS
This commit is contained in:
Jeroen van Rijn
2022-07-28 16:05:59 +02:00
committed by GitHub
9 changed files with 8 additions and 1 deletions
+7
View File
@@ -13,6 +13,13 @@ when ODIN_OS == .Windows {
} else when ODIN_OS == .Linux {
// TODO: Add the billion-or-so static libs to link to in linux
foreign import glfw "system:glfw"
} else when ODIN_OS == .Darwin {
foreign import glfw {
"../lib/darwin/libglfw3.a",
"system:Cocoa.framework",
"system:IOKit.framework",
"system:OpenGL.framework",
}
} else {
foreign import glfw "system:glfw"
}
Binary file not shown.
+1 -1
View File
@@ -185,4 +185,4 @@ foreign lib {
space: colorspace, alloc_context: rawptr,
s0, t0, s1, t1: f32) -> c.int ---
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.