Update cgo
This commit is contained in:
parent
83c4beb421
commit
caf96ad1c0
5 changed files with 25 additions and 39 deletions
|
@ -23,6 +23,10 @@ package rl
|
|||
#include "external/glfw/src/egl_context.c"
|
||||
#include "external/glfw/src/osmesa_context.c"
|
||||
|
||||
GLFWbool _glfwConnectNull(int platformID, _GLFWplatform* platform) {
|
||||
return GLFW_TRUE;
|
||||
}
|
||||
|
||||
#cgo darwin LDFLAGS: -framework Cocoa -framework IOKit -framework CoreVideo -framework CoreFoundation
|
||||
#cgo darwin CFLAGS: -x objective-c -Iexternal/glfw/include -D_GLFW_COCOA -D_GLFW_USE_CHDIR -D_GLFW_USE_MENUBAR -D_GLFW_USE_RETINA -Wno-deprecated-declarations -Wno-implicit-const-int-float-conversion -DPLATFORM_DESKTOP
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue