Commit bc9b8fa0 authored by Martin Schultz's avatar Martin Schultz

* fixed some warnings from glloader

* removed glew includes for apple and windows
* removed glew from openflipper cmake
parent b9a31bfb
......@@ -63,19 +63,10 @@
#include <sstream>
#if defined(ARCH_DARWIN)
#include <gl/glew.h>
#elif defined(WIN32)
#include <gl/glew.h>
#else // Unix
#include "gl_compat_4_4.hh"
#endif
//=============================================================================
......
......@@ -4226,7 +4226,7 @@ static int Load_Version_4_4(void)
typedef int (*PFN_LOADFUNCPOINTERS)(void);
typedef struct ogl_StrToExtMap_s
{
char *extensionName;
const char *extensionName;
int *extensionVariable;
PFN_LOADFUNCPOINTERS LoadExtension;
} ogl_StrToExtMap;
......
......@@ -81,17 +81,12 @@ endif()
acg_openmp ()
#acg_ftgl ()
# check for OpenGL, GLEW and GLUT as our required dependencies
# check for OpenGL and GLUT as our required dependencies
find_package (OpenGL)
if (NOT OPENGL_FOUND)
message (FATAL_ERROR "OpengGL not found!")
endif ()
find_package (GLEW)
if (NOT GLEW_FOUND)
message (FATAL_ERROR "GLEW not found!")
endif ()
find_package (GLUT)
if (NOT GLUT_FOUND)
message (FATAL_ERROR "GLUT not found!")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment