Added macOS compatability again
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user