From 177a0ca131794a15d775577e4fa25c1d9e695d13 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 1 May 2019 20:50:02 +1000 Subject: Cleanup: comments (long lines) in various intern/ libs --- intern/opencolorio/ocio_impl.cc | 8 ++++---- intern/opencolorio/ocio_impl_glsl.cc | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'intern/opencolorio') 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 */ -- cgit v1.2.3