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

Andrea Gelmini andrea.gelmini at gelma.net
Thu May 24 06:20:10 UTC 2018


 slideshow/opengl/rippleFragmentShader.glsl |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 451a76ec6f585b23108240454557285f518f89c9
Author: Andrea Gelmini <andrea.gelmini at gelma.net>
Date:   Wed May 23 16:10:58 2018 +0200

    Fix typo
    
    Change-Id: I0635a5f4f02a1de222656133bca1ff2da8ce59f6
    Reviewed-on: https://gerrit.libreoffice.org/54711
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>
    Tested-by: Christian Lohmaier <lohmaier+LibreOffice at googlemail.com>

diff --git a/slideshow/opengl/rippleFragmentShader.glsl b/slideshow/opengl/rippleFragmentShader.glsl
index ec641d67a571..df4bd592796f 100644
--- a/slideshow/opengl/rippleFragmentShader.glsl
+++ b/slideshow/opengl/rippleFragmentShader.glsl
@@ -38,7 +38,7 @@ void main()
     // We want the ripple to span all of the slide at the end of the transition.
     float t = time * (sqrt(2.0) * (slideRatio < 1.0 ? 1.0 / slideRatio : slideRatio));
 
-    // Interpolate the distance to the center in fonction of the time.
+    // Interpolate the distance to the center in function of the time.
     float mixed = smoothstep(t*w-v, t*w+v, dist);
 
     // Get the displacement offset from the current pixel, for fragments that have been touched by the ripple already.


More information about the Libreoffice-commits mailing list