Cleanup: spelling in comments

This commit is contained in:
Campbell Barton 2023-10-12 16:03:18 +11:00
parent 1eabc2d4cd
commit b4504c7840
3 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ float lightprobe_planar_score(ProbePlanarData planar, vec3 P, vec3 V, vec3 L)
#ifdef PLANAR_PROBES
/**
* Return the best planar probe index for a given light direction vector and postion.
* Return the best planar probe index for a given light direction vector and position.
*/
int lightprobe_planar_select(vec3 P, vec3 V, vec3 L)
{

View File

@ -113,8 +113,8 @@ class VKFrameBuffer : public FrameBuffer {
* Return the number of color attachments of this frame buffer, including unused color
* attachments.
*
* Framebuffers can have unused attachments. When higher attachment slots are being used, unused
* lower attachment slots will be counted as they are required resources in renderpasses.
* Frame-buffers can have unused attachments. When higher attachment slots are being used, unused
* lower attachment slots will be counted as they are required resources in render-passes.
*/
int color_attachments_resource_size() const;

View File

@ -1166,7 +1166,7 @@ static void wm_draw_window(bContext *C, wmWindow *win)
bScreen *screen = WM_window_get_active_screen(win);
bool stereo = WM_stereo3d_enabled(win, false);
/* Avoid any BGL call issued before this to alter the window drawin. */
/* Avoid any BGL call issued before this to alter the window drawing. */
GPU_bgl_end();
/* Draw area regions into their own frame-buffer. This way we can redraw