Added macOS compatability again

This commit is contained in:
System Administrator
2017-03-07 10:20:39 -08:00
parent d2d759810f
commit f36b7ebb21
6 changed files with 80 additions and 14 deletions

View File

@@ -3,9 +3,15 @@
#include <util.hpp>
#include <cstring>
#ifdef defined _WIN32
#define GLEW_STATIC
#include <GL/glew.h>
#elif defined TARGET_OS_MAC
#include <OpenGL/gl.h>
#endif
class GL_Testing
{
public:

View File

@@ -22,8 +22,9 @@
#include <GL/GL.h>
#elif defined TARGET_OS_MAC
# include <OpenGL/OpenGL.h>
# include <OpenCL/opencl.h>
#include <OpenGL/OpenGL.h>
#include <OpenCL/opencl.h>
#include <OpenGL/gl.h>
#endif