mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
glfw: update from 3.3.8 to 3.4
This commit is contained in:
Vendored
+3
-11
@@ -4,18 +4,10 @@ package glfw
|
||||
|
||||
import NS "vendor:darwin/Foundation"
|
||||
|
||||
when GLFW_SHARED {
|
||||
#panic("Dynamic linking for glfw is not supported for darwin yet")
|
||||
foreign import glfw {"_"}
|
||||
} else {
|
||||
foreign import glfw {
|
||||
"lib/darwin/libglfw3.a",
|
||||
}
|
||||
}
|
||||
|
||||
@(default_calling_convention="c", link_prefix="glfw")
|
||||
foreign glfw {
|
||||
GetCocoaWindow :: proc(window: WindowHandle) -> ^NS.Window ---
|
||||
foreign {
|
||||
GetCocoaWindow :: proc(window: WindowHandle) -> ^NS.Window ---
|
||||
GetCocoaView :: proc(window: WindowHandle) -> ^NS.View ---
|
||||
}
|
||||
|
||||
// TODO:
|
||||
|
||||
Reference in New Issue
Block a user