Include more specific headers on macOS

This reduces the compile time fairly significantly.
master
Graham 5 years ago
parent 74516baaa6
commit 097b3d244a
  1. 7
      gl-natives/src/main/c/jaggl.c

@ -9,10 +9,11 @@
#include <GL/glext.h> #include <GL/glext.h>
#include <GL/wglext.h> #include <GL/wglext.h>
#elif defined(__APPLE__) && defined(__MACH__) #elif defined(__APPLE__) && defined(__MACH__)
#include <Cocoa/Cocoa.h> #include <AppKit/NSOpenGL.h>
#include <OpenGL/OpenGL.h> #include <AppKit/NSView.h>
#include <AppKit/NSWindow.h>
#include <OpenGL/gl.h> #include <OpenGL/gl.h>
#include <QuartzCore/QuartzCore.h> #include <QuartzCore/CAOpenGLLayer.h>
#include <dlfcn.h> #include <dlfcn.h>
#else #else
#error Unsupported platform #error Unsupported platform

Loading…
Cancel
Save