summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-08-11 18:13:06 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-08-12 11:18:22 +0200
commitf9c57222e7f108ba68f3910a5c8f007476ce6552 (patch)
treec7301bacec42f5531e4252b722261b261cb30fa8 /vcl/opengl
parent4dfce6d2b0f44d8aa55093302987da656a97da2c (diff)
Fix typos
Change-Id: Idb183e0ee9cccf0e4da16ff984ccf9b57eea0f9e Reviewed-on: https://gerrit.libreoffice.org/77273 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/shaders/combinedVertexShader.glsl2
-rw-r--r--vcl/opengl/x11/X11DeviceInfo.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/opengl/shaders/combinedVertexShader.glsl b/vcl/opengl/shaders/combinedVertexShader.glsl
index ff1f0709f837..16fc4a942ce2 100644
--- a/vcl/opengl/shaders/combinedVertexShader.glsl
+++ b/vcl/opengl/shaders/combinedVertexShader.glsl
@@ -63,7 +63,7 @@ void main()
multiply = 1.0 / (1.0 - (start / end));
}
- // lengthen the vertex in directon of the extrusion vector by line width.
+ // lengthen the vertex in direction of the extrusion vector by line width.
vec4 final_position = vec4(position + (extrusion_vector * (render_thickness / 2.0) ), 0.0, 1.0);
gl_Position = mvp * final_position;
diff --git a/vcl/opengl/x11/X11DeviceInfo.cxx b/vcl/opengl/x11/X11DeviceInfo.cxx
index 577e2c2ad3b2..ace010d8ed31 100644
--- a/vcl/opengl/x11/X11DeviceInfo.cxx
+++ b/vcl/opengl/x11/X11DeviceInfo.cxx
@@ -246,7 +246,7 @@ void X11OpenGLDeviceInfo::GetData()
else if (strstr(maVendor.getStr(), "ATI Technologies Inc"))
{
mbIsFGLRX = true;
- // with the FGLRX driver, the version string only gives a OpenGL version :/ so let's return that.
+ // with the FGLRX driver, the version string only gives an OpenGL version: so let's return that.
// that can at least give a rough idea of how old the driver is.
whereToReadVersionNumbers = maVersion.getStr();
}