diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-08-30 16:06:53 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-08-30 16:45:11 +0300 |
commit | 510651ed7271320c566c57d2fbb6979c9421348e (patch) | |
tree | 598f5da221dd88e2bae108b470e7547826c5379f /intern/opencolorio/ocio_impl_glsl.cc | |
parent | fbcf05f443d77ae1d50c4efdffff59655e05be46 (diff) |
Attempt to fix OpenColorIO issues on Mac
We cannot have version130 there (should use version 330 instead).
Patch suggested by Brecht Van Lommel
Diffstat (limited to 'intern/opencolorio/ocio_impl_glsl.cc')
-rw-r--r-- | intern/opencolorio/ocio_impl_glsl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/opencolorio/ocio_impl_glsl.cc b/intern/opencolorio/ocio_impl_glsl.cc index d3de306edc8..c8b64f72440 100644 --- a/intern/opencolorio/ocio_impl_glsl.cc +++ b/intern/opencolorio/ocio_impl_glsl.cc @@ -354,7 +354,7 @@ bool OCIOImpl::setupGLSLDraw(OCIO_GLSLDrawState **state_r, OCIO_ConstProcessorRc std::ostringstream osv; if (supportGLSL13()) { - osv << "#version 130\n"; + osv << "#version 330\n"; } else { osv << "#version 120\n"; @@ -368,7 +368,7 @@ bool OCIOImpl::setupGLSLDraw(OCIO_GLSLDrawState **state_r, OCIO_ConstProcessorRc std::ostringstream os; if (supportGLSL13()) { - os << "#version 130\n"; + os << "#version 330\n"; } else { os << "#define USE_TEXTURE_SIZE\n"; |