gl.h
00001 #ifndef VVELIB_UTIL_GL_H
00002 #define VVELIB_UTIL_GL_H
00003
00004 #include <config.h>
00005
00006 #define GL_GLEXT_PROTOTYPES 1
00007
00008 #ifdef __APPLE__
00009 # include <OpenGL/gl.h>
00010 #elif defined(_MSC_VER)
00011 # include <windows.h>
00012 # include <GL/gl.h>
00013 #else
00014 # include <GL/gl.h>
00015 #endif
00016
00017 #if defined(WIN32) || defined(WIN64)
00018 # define GLAPIENTRY __stdcall
00019 #else
00020 # define GLAPIENTRY
00021 #endif
00022
00023 #endif // VVELIB_UTIL_GL_H
00024