Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2017-08-30 16:06:53 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-08-30 16:45:11 +0300
commit510651ed7271320c566c57d2fbb6979c9421348e (patch)
tree598f5da221dd88e2bae108b470e7547826c5379f /intern/opencolorio
parentfbcf05f443d77ae1d50c4efdffff59655e05be46 (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')
-rw-r--r--intern/opencolorio/ocio_impl_glsl.cc4
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";