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>2020-07-30 01:31:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-07-30 01:43:40 +0300
commitdc3baf2c7877ce7f19f6a82dfa8d0f14a8b49e6a (patch)
tree6be274a481fc9c071e64d72c0b6c9e002454d612 /source/blender/gpu
parent929c94ee20e04b2d887876bb453933f63c93909f (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_shader.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/gpu/intern/gpu_shader.cc b/source/blender/gpu/intern/gpu_shader.cc
index a2aace218aa..89af4fd17c0 100644
--- a/source/blender/gpu/intern/gpu_shader.cc
+++ b/source/blender/gpu/intern/gpu_shader.cc
@@ -807,14 +807,14 @@ void GPU_shader_uniform_vector_int(
/** \} */
/* -------------------------------------------------------------------- */
-/** \name sRGB rendering workaround.
+/** \name sRGB Rendering Workaround
*
- * The viewport overlay framebuffer is sRGB and will expect shaders to output display refered
- * Linear colors. But other framebuffers (i.e: the area framebuffers) are not sRGB and require the
- * shader output color to be in sRGB space (assumed display encoded colorspace as the time of
- * writting).
+ * The viewport overlay frame-buffer is sRGB and will expect shaders to output display referred
+ * Linear colors. But other frame-buffers (i.e: the area frame-buffers) are not sRGB and require
+ * the shader output color to be in sRGB space
+ * (assumed display encoded color-space as the time of writing).
* For this reason we have a uniform to switch the transform on and off depending on the current
- * framebuffer colorspace.
+ * frame-buffer color-space.
* \{ */
static int g_shader_builtin_srgb_transform = 0;