diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-16 11:13:19 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-16 11:14:33 +0300 |
commit | 95f05a6a4ba66ed5533ad6d35ac92cdbe3aa0690 (patch) | |
tree | 19f81181cb24c931c7e006822cf3fe2f39955866 /source/blender/imbuf/intern | |
parent | 48d7ff68f0df209c77bbb081ab46fbc109fd825a (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/imbuf/intern')
-rw-r--r-- | source/blender/imbuf/intern/cineon/dpxlib.c | 2 | ||||
-rw-r--r-- | source/blender/imbuf/intern/dds/DirectDrawSurface.cpp | 2 | ||||
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_api.cpp | 5 | ||||
-rw-r--r-- | source/blender/imbuf/intern/scaling.c | 2 |
4 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/imbuf/intern/cineon/dpxlib.c b/source/blender/imbuf/intern/cineon/dpxlib.c index 494bf37cfe7..be8fab26301 100644 --- a/source/blender/imbuf/intern/cineon/dpxlib.c +++ b/source/blender/imbuf/intern/cineon/dpxlib.c @@ -4,7 +4,7 @@ /** \file * \ingroup imbcineon * - * Dpx image file format library routines. + * DPX image file format library routines. */ #include "dpxlib.h" diff --git a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp index 4e5dc9ce560..39432827467 100644 --- a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp +++ b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp @@ -942,7 +942,7 @@ bool DirectDrawSurface::isSupported() const if (isTextureCube() && (header.caps.caps2 & DDSCAPS2_CUBEMAP_ALL_FACES) != DDSCAPS2_CUBEMAP_ALL_FACES) { - /* Cubemaps must contain all faces. */ + /* Cube-maps must contain all faces. */ return false; } diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp index b4ccdfab9a5..6d8c4a5c446 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.cpp +++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp @@ -708,7 +708,8 @@ struct ExrHandle { ListBase channels; /* flattened out, ExrChannel */ ListBase layers; /* hierarchical, pointing in end to ExrChannel */ - int num_half_channels; /* used during filr save, allows faster temporary buffers allocation */ + /** Used during file save, allows faster temporary buffers allocation. */ + int num_half_channels; }; /* flattened out channel */ @@ -1462,7 +1463,7 @@ static int imb_exr_split_channel_name(ExrChannel *echan, char *layname, char *pa const char *end = name + strlen(name); const char *token; - /* some multilayers have the combined buffer with names A B G R saved */ + /* Some multi-layers have the combined buffer with names A B G R saved. */ if (name[1] == 0) { echan->chan_id = BLI_toupper_ascii(name[0]); layname[0] = '\0'; diff --git a/source/blender/imbuf/intern/scaling.c b/source/blender/imbuf/intern/scaling.c index 05bee77a6cb..acffc4e7f8f 100644 --- a/source/blender/imbuf/intern/scaling.c +++ b/source/blender/imbuf/intern/scaling.c @@ -828,7 +828,7 @@ static void q_scale_float( } /** - * q_scale_linear_interpolation (derived from ppmqscale, http://libdv.sf.net) + * q_scale_linear_interpolation (derived from `ppmqscale`, http://libdv.sf.net) * * q stands for quick _and_ quality :) * |