-
- Downloads
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.
Showing
- modules/gfx/src/glext_include.hh 7 additions, 0 deletionsmodules/gfx/src/glext_include.hh
- modules/gfx/src/impl/scene_fx.cc 4 additions, 4 deletionsmodules/gfx/src/impl/scene_fx.cc
- modules/gfx/src/scene.cc 6 additions, 6 deletionsmodules/gfx/src/scene.cc
- modules/gfx/src/shader.cc 7 additions, 7 deletionsmodules/gfx/src/shader.cc
Loading
Please register or sign in to comment