From 754d56dcc19373358d264f04b3630eeca614d0b9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 23 Sep 2021 15:02:10 +1000 Subject: Cleanup: spelling in comments --- intern/cycles/blender/blender_gpu_display.cpp | 2 +- intern/cycles/integrator/path_trace.cpp | 2 +- intern/cycles/integrator/path_trace_work.h | 2 +- intern/cycles/integrator/render_scheduler.h | 2 +- intern/cycles/render/gpu_display.h | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'intern') diff --git a/intern/cycles/blender/blender_gpu_display.cpp b/intern/cycles/blender/blender_gpu_display.cpp index c5c3a2bd155..456ca676cce 100644 --- a/intern/cycles/blender/blender_gpu_display.cpp +++ b/intern/cycles/blender/blender_gpu_display.cpp @@ -524,7 +524,7 @@ void BlenderGPUDisplay::do_draw(const GPUDisplayParams ¶ms) const float zoomed_width = params.size.x * zoom_.x; const float zoomed_height = params.size.y * zoom_.y; if (texture_.width != params.size.x || texture_.height != params.size.y) { - /* Resolution divider is different from 1, force enarest interpolation. */ + /* Resolution divider is different from 1, force nearest interpolation. */ glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_NEAREST); } else if (zoomed_width - params.size.x > 0.5f || zoomed_height - params.size.y > 0.5f) { diff --git a/intern/cycles/integrator/path_trace.cpp b/intern/cycles/integrator/path_trace.cpp index b62a06aea43..e785c0d1b19 100644 --- a/intern/cycles/integrator/path_trace.cpp +++ b/intern/cycles/integrator/path_trace.cpp @@ -244,7 +244,7 @@ static void foreach_sliced_buffer_params(const vector> const int slice_height = max(lround(height * weight), 1); /* Disallow negative values to deal with situations when there are more compute devices than - * scanlines. */ + * scan-lines. */ const int remaining_height = max(0, height - current_y); BufferParams slide_params = buffer_params; diff --git a/intern/cycles/integrator/path_trace_work.h b/intern/cycles/integrator/path_trace_work.h index 8c9c8811199..e1be1655edd 100644 --- a/intern/cycles/integrator/path_trace_work.h +++ b/intern/cycles/integrator/path_trace_work.h @@ -104,7 +104,7 @@ class PathTraceWork { * - Copies work's render buffer to its device. */ void copy_from_render_buffers(const RenderBuffers *render_buffers); - /* Special version of the `copy_from_render_buffers()` which only copies denosied passes from the + /* Special version of the `copy_from_render_buffers()` which only copies denoised passes from the * given render buffers, leaving rest of the passes. * * Same notes about device copying applies to this call as well. */ diff --git a/intern/cycles/integrator/render_scheduler.h b/intern/cycles/integrator/render_scheduler.h index b7b598fb10c..6ed368a2dc8 100644 --- a/intern/cycles/integrator/render_scheduler.h +++ b/intern/cycles/integrator/render_scheduler.h @@ -31,7 +31,7 @@ class RenderWork { int resolution_divider = 1; /* Initialize render buffers. - * Includes steps like zero-ing the buffer on the device, and optional reading of pixels from the + * Includes steps like zeroing the buffer on the device, and optional reading of pixels from the * baking target. */ bool init_render_buffers = false; diff --git a/intern/cycles/render/gpu_display.h b/intern/cycles/render/gpu_display.h index a01348d28d5..0340e0b7e45 100644 --- a/intern/cycles/render/gpu_display.h +++ b/intern/cycles/render/gpu_display.h @@ -46,7 +46,7 @@ class GPUDisplayParams { * NOTE: Is not affected by the resolution divider. */ int2 full_size = make_int2(0, 0); - /* Effective vieport size. + /* Effective viewport size. * In the case of border render, size of the border rectangle. * * NOTE: Is not affected by the resolution divider. */ -- cgit v1.2.3