gKitGL
GLPlatform.h
00001 
00002 #ifndef _GK_GLPLATFORM_H
00003 #define _GK_GLPLATFORM_H
00004 
00005 #ifdef APPLE_OSX
00006     #include <GL/glew.h>
00007     #include <OpenGL/gl.h>
00008 
00009 #elif defined WIN32
00010     #include <GL/glew.h>
00011     #include <GL/gl.h>
00012 
00013 #else
00014     #include "GL/glew.h"
00015     #include <GL/gl.h>
00016     //~ #define GL3_PROTOTYPES
00017     //~ #include "GL/gl3.h"
00018 #endif
00019 
00020 #if defined GK_OPENGL3 && !defined GLEW_VERSION_3_3
00021     #error glew does not support openGL 3.3
00022 #endif
00023 
00024 #if defined GK_OPENGL4 && !defined GLEW_VERSION_4_1
00025     #error glew does not support openGL 4.1
00026 #endif
00027 
00028 #endif
 All Classes Namespaces Functions Variables Typedefs Enumerator Friends