diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 13:50:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-01 14:00:56 +0300 |
commit | 177a0ca131794a15d775577e4fa25c1d9e695d13 (patch) | |
tree | 34ec644675a418b232d995921aedcfc9f2cd92a2 /intern/opencolorio | |
parent | 5bbf9029ce676e69042e0a26075431ce67357c38 (diff) |
Cleanup: comments (long lines) in various intern/ libs
Diffstat (limited to 'intern/opencolorio')
-rw-r--r-- | intern/opencolorio/ocio_impl.cc | 8 | ||||
-rw-r--r-- | intern/opencolorio/ocio_impl_glsl.cc | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/intern/opencolorio/ocio_impl.cc b/intern/opencolorio/ocio_impl.cc index 3917ed234c7..1b2207bfb53 100644 --- a/intern/opencolorio/ocio_impl.cc +++ b/intern/opencolorio/ocio_impl.cc @@ -496,9 +496,8 @@ int OCIOImpl::colorSpaceIsInvertible(OCIO_ConstColorSpaceRcPtr *cs_) const char *family = (*cs)->getFamily(); if (!strcmp(family, "rrt") || !strcmp(family, "display")) { - /* assume display and rrt transformations are not invertible - * in fact some of them could be, but it doesn't make much sense to allow use them as invertible - */ + /* assume display and rrt transformations are not invertible in fact some of them could be, + * but it doesn't make much sense to allow use them as invertible. */ return false; } @@ -508,7 +507,8 @@ int OCIOImpl::colorSpaceIsInvertible(OCIO_ConstColorSpaceRcPtr *cs_) } if ((*cs)->getTransform(COLORSPACE_DIR_TO_REFERENCE)) { - /* if there's defined transform to reference space, color space could be converted to scene linear */ + /* if there's defined transform to reference space, + * color space could be converted to scene linear. */ return true; } diff --git a/intern/opencolorio/ocio_impl_glsl.cc b/intern/opencolorio/ocio_impl_glsl.cc index 4d0908eafd5..99d59c8d989 100644 --- a/intern/opencolorio/ocio_impl_glsl.cc +++ b/intern/opencolorio/ocio_impl_glsl.cc @@ -70,8 +70,8 @@ typedef struct OCIO_GLSLShader { /* LUT */ bool lut3d_texture_allocated; /* boolean flag indicating whether - * lut texture is allocated - */ + * lut texture is allocated + */ bool lut3d_texture_valid; GLuint lut3d_texture; /* OGL texture ID for 3D LUT */ |