mirror of
https://github.com/odin-lang/Odin.git
synced 2026-03-02 14:48:20 +00:00
Merge pull request #1447 from phillvancejr/master
Added vendor glfw support for Mac OS
This commit is contained in:
7
vendor/glfw/bindings/bindings.odin
vendored
7
vendor/glfw/bindings/bindings.odin
vendored
@@ -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"
|
||||
}
|
||||
|
||||
BIN
vendor/glfw/lib/darwin/libglfw3.a
vendored
Normal file
BIN
vendor/glfw/lib/darwin/libglfw3.a
vendored
Normal file
Binary file not shown.
2
vendor/stb/image/stb_image_resize.odin
vendored
2
vendor/stb/image/stb_image_resize.odin
vendored
@@ -185,4 +185,4 @@ foreign lib {
|
||||
space: colorspace, alloc_context: rawptr,
|
||||
s0, t0, s1, t1: f32) -> c.int ---
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
BIN
vendor/stb/lib/darwin/libstb_image.a
vendored
Normal file
BIN
vendor/stb/lib/darwin/libstb_image.a
vendored
Normal file
Binary file not shown.
BIN
vendor/stb/lib/darwin/stb_image.a
vendored
Normal file
BIN
vendor/stb/lib/darwin/stb_image.a
vendored
Normal file
Binary file not shown.
BIN
vendor/stb/lib/darwin/stb_image_resize.a
vendored
Normal file
BIN
vendor/stb/lib/darwin/stb_image_resize.a
vendored
Normal file
Binary file not shown.
BIN
vendor/stb/lib/darwin/stb_image_write.a
vendored
Normal file
BIN
vendor/stb/lib/darwin/stb_image_write.a
vendored
Normal file
Binary file not shown.
BIN
vendor/stb/lib/darwin/stb_rect_pack.a
vendored
Normal file
BIN
vendor/stb/lib/darwin/stb_rect_pack.a
vendored
Normal file
Binary file not shown.
BIN
vendor/stb/lib/darwin/stb_truetype.a
vendored
Normal file
BIN
vendor/stb/lib/darwin/stb_truetype.a
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user