mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-08 00:28:49 +00:00
Add glfw.GetCocoaWindow
This commit is contained in:
Vendored
+16
@@ -0,0 +1,16 @@
|
||||
//+build darwin
|
||||
|
||||
package glfw
|
||||
|
||||
import NS "vendor:darwin/foundation"
|
||||
|
||||
foreign import glfw { "lib/darwin/libglfw3.a" }
|
||||
|
||||
@(default_calling_convention="c", link_prefix="glfw")
|
||||
foreign glfw {
|
||||
GetCocoaWindow :: proc(window: WindowHandle) -> ^NS.Window ---
|
||||
}
|
||||
|
||||
// TODO:
|
||||
// CGDirectDisplayID glfwGetCocoaMonitor(GLFWmonitor* monitor);
|
||||
// id glfwGetNSGLContext(GLFWwindow* window);
|
||||
Reference in New Issue
Block a user