The Mandelbrot example doesn't work on OS X El Capitan. The linker throws an error and claims that one or more shaders didn't build correctly. I had to add fs.report_compile_error(); to see the build error output (should this added to all the examples?).
The build error message is
ERROR: 0:1: '' : version '130' is not supported
ERROR: 0:2: '' : #version required and missing.
The reason for this seems to be annoying and complicated, but if the #version is set to any version between 140 and 410 (inclusive), then it works fine. I think it has something to do with OS X only supporting core profile. I'm not sure how to correctly/neatly fix this. Thoughts?
The Mandelbrot example doesn't work on OS X El Capitan. The linker throws an error and claims that one or more shaders didn't build correctly. I had to add
fs.report_compile_error();
to see the build error output (should this added to all the examples?).The build error message is
The reason for this seems to be annoying and complicated, but if the
#version
is set to any version between 140 and 410 (inclusive), then it works fine. I think it has something to do with OS X only supporting core profile. I'm not sure how to correctly/neatly fix this. Thoughts?