Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-01-14 02:47:50 +0300
committerCampbell Barton <campbell@blender.org>2022-01-14 03:23:46 +0300
commitcea588b9ef8f9bdb2729fb233d6f1ed0886700e1 (patch)
treefa0bfce1f026a4af40aaf72eecd6fde101d8b938 /intern
parent7a0cf2c72f58be31824f5c3b17844ba54797b594 (diff)
Cleanup: spelling in comments, C++ style comments for disabled code
Also ensure space at end of comment.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/bvh/build.cpp2
-rw-r--r--intern/cycles/session/session.cpp2
-rw-r--r--intern/opencolorio/ocio_impl_glsl.cc2
3 files changed, 3 insertions, 3 deletions
diff --git a/intern/cycles/bvh/build.cpp b/intern/cycles/bvh/build.cpp
index 242595bee4c..082041f5ed2 100644
--- a/intern/cycles/bvh/build.cpp
+++ b/intern/cycles/bvh/build.cpp
@@ -935,7 +935,7 @@ BVHNode *BVHBuild::create_object_leaf_nodes(const BVHReference *ref, int start,
BVHNode *BVHBuild::create_leaf_node(const BVHRange &range, const vector<BVHReference> &references)
{
- /* This is a bit overallocating here (considering leaf size into account),
+ /* This is a bit over-allocating here (considering leaf size into account),
* but chunk-based re-allocation in vector makes it difficult to use small
* size of stack storage here. Some tweaks are possible tho.
*
diff --git a/intern/cycles/session/session.cpp b/intern/cycles/session/session.cpp
index 2c50a9a6d7f..d03063a7dda 100644
--- a/intern/cycles/session/session.cpp
+++ b/intern/cycles/session/session.cpp
@@ -428,7 +428,7 @@ void Session::do_delayed_reset()
/* Update temp directory on reset.
* This potentially allows to finish the existing rendering with a previously configure temporary
- * direcotry in the host software and switch to a new temp directory when new render starts. */
+ * directory in the host software and switch to a new temp directory when new render starts. */
tile_manager_.set_temp_dir(params.temp_dir);
/* Progress. */
diff --git a/intern/opencolorio/ocio_impl_glsl.cc b/intern/opencolorio/ocio_impl_glsl.cc
index 87bc2842539..fc45ec4e301 100644
--- a/intern/opencolorio/ocio_impl_glsl.cc
+++ b/intern/opencolorio/ocio_impl_glsl.cc
@@ -642,7 +642,7 @@ bool OCIOImpl::gpuDisplayShaderBind(OCIO_ConstConfigRcPtr *config,
}
/* Bind textures to sampler units. Texture 0 is set by caller.
- * Uniforms have already been set for texture bind points.*/
+ * Uniforms have already been set for texture bind points. */
if (!use_overlay) {
/* Avoid missing binds. */
GPU_texture_bind(textures.dummy, TEXTURE_SLOT_OVERLAY);