Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-09-23 08:02:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-09-23 08:42:44 +0300
commit754d56dcc19373358d264f04b3630eeca614d0b9 (patch)
treec29f1677e1e9e9db6502db28938ee01b2f60c546 /intern
parentbf948b2cef3ba340a6bba5e7bd7f4911c9a9275a (diff)
Cleanup: spelling in comments
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/blender_gpu_display.cpp2
-rw-r--r--intern/cycles/integrator/path_trace.cpp2
-rw-r--r--intern/cycles/integrator/path_trace_work.h2
-rw-r--r--intern/cycles/integrator/render_scheduler.h2
-rw-r--r--intern/cycles/render/gpu_display.h2
5 files changed, 5 insertions, 5 deletions
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 &params)
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<unique_ptr<PathTraceWork>>
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. */