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/intern/dds | |
parent | 3edd87f0099923742ed5a60e23ebfcdd539fb76e (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/imbuf/intern/dds')
-rw-r--r-- | source/blender/imbuf/intern/dds/ColorBlock.h | 4 | ||||
-rw-r--r-- | source/blender/imbuf/intern/dds/DirectDrawSurface.cpp | 4 |
2 files changed, 4 insertions, 4 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); } |