summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-02-03 11:16:31 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2014-02-03 18:28:04 +0100
commitb13185adbab4c18dbd691cf78083545b2874f2e8 (patch)
treed718f6483306517b875b530250e308d51ce970ed
parent1e41e0f11543ff49273f4601d9d79f67f2c03ae4 (diff)
remove unnecessary variable
Change-Id: Iabd5dc6ee7511244cfefbba6d4529531f3886439
-rwxr-xr-xchart2/source/view/main/OpenGLRender.cxx3
-rwxr-xr-xchart2/source/view/main/OpenGLRender.hxx1
2 files changed, 1 insertions, 3 deletions
diff --git a/chart2/source/view/main/OpenGLRender.cxx b/chart2/source/view/main/OpenGLRender.cxx
index fe7ec78dd23f..29c5d353ec93 100755
--- a/chart2/source/view/main/OpenGLRender.cxx
+++ b/chart2/source/view/main/OpenGLRender.cxx
@@ -252,7 +252,7 @@ int OpenGLRender::InitOpenGL(GLWindow aWindow)
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
- glClearColor (m_ClearColor.r, m_ClearColor.g, m_ClearColor.b, m_ClearColor.a);
+ glClearColor (1.0, 1.0, 1.0, 1.0);
glClear(GL_COLOR_BUFFER_BIT);
glClearDepth(1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
@@ -764,7 +764,6 @@ OpenGLRender::OpenGLRender(uno::Reference< drawing::XShape > xTarget):
m_frameBufferMS(0),
m_TextVertexID(0),
m_TextTexCoordID(1),
- m_ClearColor(glm::vec4(1.0f, 1.0f, 1.0f, 1.0f))
{
//TODO: moggi: use STL
memset(&m_Bubble2DCircle, 0, sizeof(m_Bubble2DCircle));
diff --git a/chart2/source/view/main/OpenGLRender.hxx b/chart2/source/view/main/OpenGLRender.hxx
index fd06fdec4cb4..e741595904d1 100755
--- a/chart2/source/view/main/OpenGLRender.hxx
+++ b/chart2/source/view/main/OpenGLRender.hxx
@@ -285,7 +285,6 @@ private:
GLint m_BackgroundColorID;
float m_BackgroundColor[16];
- glm::vec4 m_ClearColor;
std::list <PieSegment2DPointList> m_PieSegment2DShapePointList;
PointList m_Symbol2DPointList;