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
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/cycles/blender
parentbf948b2cef3ba340a6bba5e7bd7f4911c9a9275a (diff)
Cleanup: spelling in comments
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r--intern/cycles/blender/blender_gpu_display.cpp2
1 files changed, 1 insertions, 1 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) {