mirror of
https://github.com/raysan5/raylib.git
synced 2025-10-17 07:16:03 +00:00
Fix macOS build of new rglfw.c approach
There have been two problems: * GLFW itself was compiled with the definitions for compiling _against_ GLFW (fixed by removing requirement for external glfw) * rglfw.c was being compiled as C code, although it includes Objective C files. This _might_ break the Windows build, needs to be checked. Fixes #391, but as noted I'd prefer though a separate source directory and build script for GLFW.
This commit is contained in:
@@ -86,5 +86,5 @@
|
||||
#include "external/glfw/src/posix_thread.c"
|
||||
#include "external/glfw/src/nsgl_context.m"
|
||||
#include "external/glfw/src/egl_context.c"
|
||||
#include "external/glfw/src/osmesa_context.c.m"
|
||||
#include "external/glfw/src/osmesa_context.c"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user