From b4504c784067bc58e4c5eff33d128522f629a545 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 12 Oct 2023 16:03:18 +1100 Subject: [PATCH] Cleanup: spelling in comments --- .../draw/engines/eevee_next/shaders/eevee_lightprobe_lib.glsl | 2 +- source/blender/gpu/vulkan/vk_framebuffer.hh | 4 ++-- source/blender/windowmanager/intern/wm_draw.cc | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/blender/draw/engines/eevee_next/shaders/eevee_lightprobe_lib.glsl b/source/blender/draw/engines/eevee_next/shaders/eevee_lightprobe_lib.glsl index b6aca4c17d4..3597ce4a5c0 100644 --- a/source/blender/draw/engines/eevee_next/shaders/eevee_lightprobe_lib.glsl +++ b/source/blender/draw/engines/eevee_next/shaders/eevee_lightprobe_lib.glsl @@ -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) { diff --git a/source/blender/gpu/vulkan/vk_framebuffer.hh b/source/blender/gpu/vulkan/vk_framebuffer.hh index 22d3460ea5b..d193bfb9103 100644 --- a/source/blender/gpu/vulkan/vk_framebuffer.hh +++ b/source/blender/gpu/vulkan/vk_framebuffer.hh @@ -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; diff --git a/source/blender/windowmanager/intern/wm_draw.cc b/source/blender/windowmanager/intern/wm_draw.cc index 62040ee8f8f..11ae1ec07ed 100644 --- a/source/blender/windowmanager/intern/wm_draw.cc +++ b/source/blender/windowmanager/intern/wm_draw.cc @@ -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