aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRay <raysan5@gmail.com>2018-10-08 18:51:41 +0200
committerRay <raysan5@gmail.com>2018-10-08 18:51:41 +0200
commit4f5937e89bc0cfddd6c3a36292d3262a9b75de92 (patch)
treeb6840f5f1bc0f078204e2044d59aff023af551ce /src
parent717cf77129bd30099e489a29ae19dc053923264d (diff)
downloadraylib-4f5937e89bc0cfddd6c3a36292d3262a9b75de92.tar.gz
raylib-4f5937e89bc0cfddd6c3a36292d3262a9b75de92.zip
OSX native window keeps breaking...
Diffstat (limited to 'src')
-rw-r--r--src/core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core.c b/src/core.c
index cdbed2f8..f9de55e5 100644
--- a/src/core.c
+++ b/src/core.c
@@ -167,7 +167,7 @@
#include <unistd.h> // Required for: usleep()
#include <objc/message.h> // 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 <GLFW/glfw3native.h> // 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