Cleanup: spelling in comments

This commit is contained in:
Campbell Barton
2021-09-24 11:31:23 +10:00
parent 599d96e8f9
commit bc65c7d0e5
31 changed files with 64 additions and 61 deletions

View File

@@ -163,7 +163,7 @@ class GPUDisplay {
* This call might happen in parallel with draw, but can never happen in parallel with the
* update.
*
* The actual zero-ing can be deferred to a later moment. What is important is that after clear
* The actual zeroing can be deferred to a later moment. What is important is that after clear
* and before pixels update the drawing texture will be fully empty, and that partial update
* after clear will write new pixel values for an updating area, leaving everything else zeroed.
*

View File

@@ -727,8 +727,8 @@ void OSLCompiler::add(ShaderNode *node, const char *name, bool isfilepath)
}
}
/* create shader of the appropriate type. OSL only distinguishes between "surface"
* and "displacement" atm */
/* Create shader of the appropriate type. OSL only distinguishes between "surface"
* and "displacement" at the moment. */
if (current_type == SHADER_TYPE_SURFACE)
ss->Shader("surface", name, id(node).c_str());
else if (current_type == SHADER_TYPE_VOLUME)