This commit is contained in:
halx99 2023-01-24 18:27:40 +08:00
parent e5cc37cd40
commit ed9e539a85
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ using namespace backend;
#endif
#ifdef __APPLE__
#define GLFW_EXPOSE_NATIVE_COCOA
typedef struct objc_object *id;
extern "C" id glfwGetCocoaWindow(GLFWwindow* window);
// #include <GLFW/glfw3native.h> // for glfwGetCocoaWindow()
#endif