diff --git a/src/core.c b/src/core.c index cdbed2f86..f9de55e51 100644 --- a/src/core.c +++ b/src/core.c @@ -167,7 +167,7 @@ #include // Required for: usleep() #include // Required for: objc_msgsend(), sel_registerName() - #define GLFW_EXPOSE_NATIVE_COCOA + //#define GLFW_EXPOSE_NATIVE_COCOA // WARNING: Fails due to type redefinition #define GLFW_EXPOSE_NATIVE_NSGL #include // Required for: glfwGetCocoaWindow(), glfwGetNSGLContext() #endif @@ -823,7 +823,7 @@ void *GetWindowHandle(void) return NULL; // TODO: Find a way to return value... cast to void *? #elif defined(__APPLE__) // NOTE: Returned handle is: (objc_object *) - return (void *)glfwGetCocoaWindow(window); + return NULL; // TODO: return (void *)glfwGetCocoaWindow(window); #else return NULL; #endif