diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-23 07:33:43 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-23 07:33:43 +0300 |
commit | add1b6ab3c91d408635b311127224dd4cc33f1ab (patch) | |
tree | 96b6220374202c9c8b6cab30a33188f50267121b /source/blender/imbuf | |
parent | 3edd87f0099923742ed5a60e23ebfcdd539fb76e (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/imbuf')
-rw-r--r-- | source/blender/imbuf/intern/dds/ColorBlock.h | 4 | ||||
-rw-r--r-- | source/blender/imbuf/intern/dds/DirectDrawSurface.cpp | 4 | ||||
-rw-r--r-- | source/blender/imbuf/intern/openexr/openexr_api.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/imbuf/intern/dds/ColorBlock.h b/source/blender/imbuf/intern/dds/ColorBlock.h index 144babf5d92..679028b16d3 100644 --- a/source/blender/imbuf/intern/dds/ColorBlock.h +++ b/source/blender/imbuf/intern/dds/ColorBlock.h @@ -21,9 +21,9 @@ /** Uncompressed 4x4 color block. */ struct ColorBlock { ColorBlock() = default; - /** Init the color block from an array of colors. */ + /** Initialize the color block from an array of colors. */ ColorBlock(const uint *linearImage); - /** Init the color block with the contents of the given block. */ + /** Initialize the color block with the contents of the given block. */ ColorBlock(const ColorBlock &block); /** Initialize this color block. */ ColorBlock(const Image *img, uint x, uint y); diff --git a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp index 39432827467..ab2f0207be4 100644 --- a/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp +++ b/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp @@ -872,8 +872,8 @@ DirectDrawSurface::DirectDrawSurface(uchar *mem, uint size) : stream(mem, size), mem_read(stream, header); /* Some ATI2 compressed normal maps do not have their - * normal flag set, so force it here (the original nvtt don't do - * this, but the decompressor has a -forcenormal flag). */ + * normal flag set, so force it here (the original `nvtt` don't do + * this, but the decompressor has a `-forcenormal` flag). */ if (header.pf.fourcc == FOURCC_ATI2) { header.setNormalFlag(true); } diff --git a/source/blender/imbuf/intern/openexr/openexr_api.cpp b/source/blender/imbuf/intern/openexr/openexr_api.cpp index da4aaf8522e..e8818a8b55e 100644 --- a/source/blender/imbuf/intern/openexr/openexr_api.cpp +++ b/source/blender/imbuf/intern/openexr/openexr_api.cpp @@ -1442,7 +1442,7 @@ void IMB_exr_close(void *handle) /* ********* */ -/* get a substring from the end of the name, separated by '.' */ +/** Get a sub-string from the end of the name, separated by '.'. */ static int imb_exr_split_token(const char *str, const char *end, const char **token) { const char delims[] = {'.', '\0'}; |