summaryrefslogtreecommitdiffhomepage
path: root/src/rglfw.c
diff options
context:
space:
mode:
authorAhmad Fatoum <[email protected]>2017-11-22 22:33:47 +0100
committerAhmad Fatoum <[email protected]>2017-11-22 23:11:41 +0100
commitb2acff66dec7bce30e9704aa9b13070f7c3ffac1 (patch)
tree1d8b7e639a550c8006f2e7987c2d8f1e4eac83cb /src/rglfw.c
parent899e1fbd94f697d95b9684e272de5410b08edc06 (diff)
downloadraylib-b2acff66dec7bce30e9704aa9b13070f7c3ffac1.tar.gz
raylib-b2acff66dec7bce30e9704aa9b13070f7c3ffac1.zip
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.
Diffstat (limited to 'src/rglfw.c')
-rw-r--r--src/rglfw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rglfw.c b/src/rglfw.c
index b1b4eed7..83e0021b 100644
--- a/src/rglfw.c
+++ b/src/rglfw.c
@@ -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