Cleanup: spelling in comments
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user