diff options
author | luzpaz <luzpaz> | 2022-06-28 16:35:35 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-06-28 16:56:16 +0300 |
commit | 4d982cbb5d950f10493fa911a4955fd4a2e65589 (patch) | |
tree | c6b536071f884458a7a059a73ce45fa040e0ce19 /source | |
parent | 0124de9d0e5fda3c1aafc0650bc6cd31618dbbb7 (diff) |
Cleanup: fix various typos
Differential Revision: https://developer.blender.org/D15304
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/sculpt_intern.h | 2 | ||||
-rw-r--r-- | source/blender/gpu/metal/mtl_command_buffer.mm | 4 | ||||
-rw-r--r-- | source/blender/gpu/metal/mtl_context.mm | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index e8a2d35ccd0..2c4f2f7370a 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -247,7 +247,7 @@ typedef struct SculptThreadedTaskData { float (*mat)[4]; float (*vertCos)[3]; - /* When true, the displacement stored in the proxies will be aplied to the original coordinates + /* When true, the displacement stored in the proxies will be applied to the original coordinates * instead of to the current coordinates. */ bool use_proxies_orco; diff --git a/source/blender/gpu/metal/mtl_command_buffer.mm b/source/blender/gpu/metal/mtl_command_buffer.mm index 392e07b7ee8..375295e589e 100644 --- a/source/blender/gpu/metal/mtl_command_buffer.mm +++ b/source/blender/gpu/metal/mtl_command_buffer.mm @@ -21,7 +21,7 @@ namespace blender::gpu { id<MTLEvent> MTLCommandBufferManager::sync_event = nil; unsigned long long MTLCommandBufferManager::event_signal_val = 0; -/* Counter for active comand buffers. */ +/* Counter for active command buffers. */ int MTLCommandBufferManager::num_active_cmd_bufs = 0; /* -------------------------------------------------------------------- */ @@ -121,7 +121,7 @@ bool MTLCommandBufferManager::submit(bool wait) [active_command_buffer_ waitUntilCompleted]; /* Command buffer execution debugging can return an error message if - * execution has failed or encoutered GPU-side errors. */ + * execution has failed or encountered GPU-side errors. */ if (G.debug & G_DEBUG_GPU) { NSError *error = [active_command_buffer_ error]; diff --git a/source/blender/gpu/metal/mtl_context.mm b/source/blender/gpu/metal/mtl_context.mm index 4a76bab11b8..d4e25defecf 100644 --- a/source/blender/gpu/metal/mtl_context.mm +++ b/source/blender/gpu/metal/mtl_context.mm @@ -124,7 +124,7 @@ void MTLContext::end_frame() { BLI_assert(is_inside_frame_); - /* Ensure pre-present work is commited. */ + /* Ensure pre-present work is committed. */ this->flush(); /* Increment frame counter. */ |