Cleanup: spelling, correct doc-string arguments

This commit is contained in:
2021-02-18 13:26:39 +11:00
parent bcb9e8e1a7
commit 10a54bbd06
5 changed files with 7 additions and 7 deletions

View File

@@ -476,9 +476,9 @@ void GPU_framebuffer_recursive_downsample(GPUFrameBuffer *gpu_fb,
/** \} */
/* -------------------------------------------------------------------- */
/** \name Framebuffer Stack
/** \name Frame-Buffer Stack
*
* Keeps track of framebuffer binding operation to restore previously bound frambuffers.
* Keeps track of frame-buffer binding operation to restore previously bound frame-buffers.
* \{ */
#define FRAMEBUFFER_STACK_DEPTH 16

View File

@@ -4866,7 +4866,7 @@ static void rna_def_userdef_view(BlenderRNA *brna)
"Translate the names of new data-blocks (objects, materials...)");
RNA_def_property_update(prop, 0, "rna_userdef_update");
/* Statusbar. */
/* Status-bar. */
prop = RNA_def_property(srna, "show_statusbar_memory", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "statusbar_flag", STATUSBAR_SHOW_MEMORY);

View File

@@ -649,8 +649,8 @@ size_t bpygpu_Buffer_size(BPyGPUBuffer *buffer)
/**
* Create a buffer object
*
* \param dimensions: An array of ndimensions integers representing the size of each dimension.
* \param initbuffer: When not NULL holds a contiguous buffer
* \param shape: An array of `shape_len` integers representing the size of each dimension.
* \param buffer: When not NULL holds a contiguous buffer
* with the correct format from which the buffer will be initialized
*/
BPyGPUBuffer *BPyGPU_Buffer_CreatePyObject(const int format,