mirror of https://github.com/liamg/aminal.git
12 lines
324 B
C
12 lines
324 B
C
#include "_cgo_export.h"
|
|
|
|
// workaround wrappers needed due to a cgo and/or LLVM bug.
|
|
// See: https://github.com/go-gl/glfw/issues/136
|
|
|
|
void *workaround_glfwGetCocoaWindow(GLFWwindow *w) {
|
|
return (void *)glfwGetCocoaWindow(w);
|
|
}
|
|
|
|
void *workaround_glfwGetNSGLContext(GLFWwindow *w) {
|
|
return (void *)glfwGetNSGLContext(w);
|
|
} |