Cleanup: spelling

This commit is contained in:
Campbell Barton 2020-08-22 00:09:17 +10:00
parent eed43a89dd
commit 661ba642f2
4 changed files with 5 additions and 5 deletions

View File

@ -1335,11 +1335,11 @@ static void IDP_DirectLinkProperty(IDProperty *prop, BlendDataReader *reader)
break;
case IDP_DOUBLE:
/* Workaround for doubles.
* They are stored in the same field as `int val, val2` in the IDPropertyData struct,
* They are stored in the same field as `int val, val2` in the #IDPropertyData struct,
* they have to deal with endianness specifically.
*
* In theory, val and val2 would've already been swapped
* if switch_endian is true, so we have to first unswap
* if switch_endian is true, so we have to first un-swap
* them then re-swap them as a single 64-bit entity. */
if (BLO_read_requires_endian_switch(reader)) {
BLI_endian_switch_int32(&prop->data.val);

View File

@ -1555,7 +1555,7 @@ static size_t animfilter_nla(bAnimContext *UNUSED(ac),
next = nlt->next;
}
/* if we're in NLA-tweakmode, don't show this track if it was disabled
/* If we're in NLA-tweak-mode, don't show this track if it was disabled
* (due to tweaking) for now:
* - active track should still get shown though (even though it has disabled flag set)
*/

View File

@ -22,7 +22,7 @@
*
* GPU shader interface (C --> GLSL)
*
* Structure detailling needed vertex inputs and resources for a specific shader.
* Structure detailing needed vertex inputs and resources for a specific shader.
* A shader interface can be shared between two similar shaders.
*/

View File

@ -101,7 +101,7 @@ static int inputs_cmp(const void *a, const void *b)
*/
static void buffer_from_list_inputs_sort(ListBase *inputs)
{
/* Only support up to this type, if you want to extend it, make sure tstatic void
/* Only support up to this type, if you want to extend it, make sure static void
* inputs_sobuffer_size_compute *inputs) padding logic is correct for the new types. */
#define MAX_UBO_GPU_TYPE GPU_MAT4