Skip to content
Snippets Groups Projects
Commit 06f80802 authored by Marco Biasini's avatar Marco Biasini
Browse files

fix compilation on MacOS X with shaders enabled

MacOS X doesn't require the use of glew as all of the OpenGL extensions
are already defined in the GL.h header file. I introduced a macro that
is set to GLEW_VERSION_2_0 for all non-apple systems and defaults to
true on MacOS X. This is safe, since all systems we support have at
least OpenGL 2.0.
parent 5dba7527
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment