diff --git a/libs/openFrameworks/utils/ofConstants.h b/libs/openFrameworks/utils/ofConstants.h index d27b3892d03..7a864426115 100644 --- a/libs/openFrameworks/utils/ofConstants.h +++ b/libs/openFrameworks/utils/ofConstants.h @@ -124,7 +124,7 @@ enum ofTargetPlatform{ #define GLEW_STATIC #define GLEW_NO_GLU #include "GL/glew.h" - #include "GL/wglew.h" + #include "GL/wglew.h" #define __WINDOWS_DS__ #define __WINDOWS_MM__ #if (_MSC_VER) // microsoft visual studio @@ -177,7 +177,6 @@ enum ofTargetPlatform{ #endif #include #include "GL/glew.h" - #include #include #if defined(__LITTLE_ENDIAN__) @@ -205,11 +204,8 @@ enum ofTargetPlatform{ #define EGL_EGLEXT_PROTOTYPES #include "EGL/egl.h" #include "EGL/eglext.h" - #else // normal linux - #define GL_GLEXT_PROTOTYPES - #include - #include - #include + #else // desktop linux + #include #endif // for some reason, this isn't defined at compile time,