blob: 414d1f3d6eaf91532d8b6b968362cf08af869054 [file] [log] [blame]
package glfw3
//#define GLFW_EXPOSE_NATIVE_COCOA
//#define GLFW_EXPOSE_NATIVE_NSGL
//#include <GLFW/glfw3.h>
//#include <GLFW/glfw3native.h>
import "C"
func (w *Window) GetCocoaWindow() C.id {
return C.glfwGetCocoaWindow(w.data)
}
func (w *Window) GetNSGLContext() C.id {
return C.glfwGetNSGLContext(w.data)
}