summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2017-11-13 00:20:20 +0100
committerMark Page <aptitude@btconnect.com>2017-11-13 08:43:17 +0100
commitd71bcc4dc5025ea24944454908098269cfd095a3 (patch)
tree4e0e21223c2b7fc157b840d2c717eb1dd1ba7942 /chart2
parent930efab3be7dd818918b7116119bb049acdcda76 (diff)
Fix typos
Change-Id: Ia544298334364ece3b3963a4adc00c5e01189b91 Reviewed-on: https://gerrit.libreoffice.org/44654 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mark Page <aptitude@btconnect.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/GL3DRenderer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx
index a6947e82277d..2fb4de8b6983 100644
--- a/chart2/source/view/main/GL3DRenderer.cxx
+++ b/chart2/source/view/main/GL3DRenderer.cxx
@@ -944,7 +944,7 @@ void OpenGL3DRenderer::RenderPolygon3D(const Polygon3DInfo& polygon)
glUniform1i(maResources.m_3DLightNumID, m_iLightNum);
glUniform4fv(maResources.m_3DLightAmbientID, 1, &m_Ambient[0]);
CHECK_GL_ERROR();
- //update meterial information
+ //update material information
glUniform4fv(maResources.m_3DMaterialAmbientID, 1, &polygon.material.ambient[0]);
glUniform4fv(maResources.m_3DMaterialDiffuseID, 1, &polygon.material.diffuse[0]);
glUniform4fv(maResources.m_3DMaterialSpecularID, 1, &polygon.material.specular[0]);
@@ -1675,7 +1675,7 @@ void OpenGL3DRenderer::RenderExtrude3DObject()
}
else
{
- //update meterial information
+ //update material information
glUniform4fv(maResources.m_3DMaterialAmbientID, 1, &extrude3DInfo.material.ambient[0]);
glUniform4fv(maResources.m_3DMaterialDiffuseID, 1, &extrude3DInfo.material.diffuse[0]);
glUniform4fv(maResources.m_3DMaterialSpecularID, 1, &extrude3DInfo.material.specular[0]);