Fixed APIENTRY quirk with GLEW

master
Zachary Lund 2014-01-06 17:51:45 -06:00
parent a89a8151d5
commit 8073b0ecd4
1 changed files with 6 additions and 0 deletions

View File

@ -20,11 +20,17 @@
#include <util/darray.h> #include <util/darray.h>
#include <graphics/graphics.h> #include <graphics/graphics.h>
#include <graphics/matrix4.h> #include <graphics/matrix4.h>
#ifdef GLEW_STATIC #ifdef GLEW_STATIC
#include "glew/include/GL/glew.h" #include "glew/include/GL/glew.h"
#else #else
#include <GL/glew.h> #include <GL/glew.h>
#endif #endif
#ifdef _WIN32
#include <windows.h>
#endif
#include "gl-helpers.h" #include "gl-helpers.h"
#include "gl-exports.h" #include "gl-exports.h"