1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#ifndef SYSTEMGL_H_ #define SYSTEMGL_H_ #include <GL/glew.h> #ifdef __APPLE__ #include <OpenGL/OpenGL.h> #else #include <GL/gl.h> #ifdef _WIN32 #include <windows.h> // For the CALLBACK macro #endif #endif #endif