[Libreoffice-commits] core.git: vcl/opengl

Julien Nabet serval2412 at yahoo.fr
Wed Feb 15 06:08:59 UTC 2017


 vcl/opengl/shaders/combinedVertexShader.glsl |    2 +-
 vcl/opengl/shaders/lineVertexShader.glsl     |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 04a58b12147829f5340536d4125ef4fbe04c0e47
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Tue Feb 14 21:55:14 2017 +0100

    Typo: lenghten->lengthen
    
    Change-Id: I9b9e6afb543c42bf3b64cb3c2ed872304f33c7f0
    Reviewed-on: https://gerrit.libreoffice.org/34282
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/vcl/opengl/shaders/combinedVertexShader.glsl b/vcl/opengl/shaders/combinedVertexShader.glsl
index b040ca2..ff1f070 100644
--- a/vcl/opengl/shaders/combinedVertexShader.glsl
+++ b/vcl/opengl/shaders/combinedVertexShader.glsl
@@ -40,7 +40,7 @@ void main()
 
    if (type == TYPE_LINE)
    {
-      // miter factor to additionally lenghten the distance of vertex (needed for miter)
+      // miter factor to additionally lengthen the distance of vertex (needed for miter)
       // if 1.0 - miter_factor has no effect
       float miter_factor = 1.0 / abs(extrusion_vectors.z);
       // fade factor is always -1.0 or 1.0 -> we transport that info together with length
diff --git a/vcl/opengl/shaders/lineVertexShader.glsl b/vcl/opengl/shaders/lineVertexShader.glsl
index 90939a9..63811cc 100644
--- a/vcl/opengl/shaders/lineVertexShader.glsl
+++ b/vcl/opengl/shaders/lineVertexShader.glsl
@@ -20,7 +20,7 @@ uniform mat4 mvp;
 void main()
 {
    vec2 extrusion_vector = extrusion_vectors.xy;
-   // miter factor to additionally lenghten the distance of vertex (needed for miter)
+   // miter factor to additionally lengthen the distance of vertex (needed for miter)
    // if 1.0 - miter_factor has no effect
    float miter_factor = 1.0f / abs(extrusion_vectors.z);
    // fade factor is always -1.0 or 1.0 -> we transport that info together with length


More information about the Libreoffice-commits mailing list