diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-10 22:54:12 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-05-12 03:00:07 +0200 |
commit | be7fd499ca8c0b2b71b1f1067ea4f59a4fb480f5 (patch) | |
tree | 27e2d861cee9a00fea310d3caec687c4c12b03ac | |
parent | 1b10b86f5b6ee125e08080a31e0487084837f3a5 (diff) |
remove unneccessary flag
Change-Id: I88c7abe0fa428ea6d9b396e77b510088eda09289
-rw-r--r-- | chart2/source/view/main/GL3DRenderer.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx index ab86007f1c04..89792a2b6809 100644 --- a/chart2/source/view/main/GL3DRenderer.cxx +++ b/chart2/source/view/main/GL3DRenderer.cxx @@ -63,7 +63,6 @@ GLfloat texCoords[] = { OpenGL3DRenderer::OpenGL3DRenderer(): m_TranslationMatrix(glm::translate(m_Model, glm::vec3(0.0f, 0.0f, 0.0f))) - , m_bCameraUpdated(false) , m_TextProID(0) , m_TextMatrixID(0) , m_TextVertexID(0) @@ -792,10 +791,6 @@ void OpenGL3DRenderer::RenderPolygon3D(Polygon3DInfo &polygon) void OpenGL3DRenderer::RenderPolygon3DObject() { - if (!m_bCameraUpdated) - { - return; - } glDepthMask(GL_FALSE); size_t polygonNum = m_Polygon3DInfoList.size(); for (size_t i = 0; i < polygonNum; i++) @@ -1424,7 +1419,6 @@ void OpenGL3DRenderer::CreateSceneBoxView() m_CameraInfo.cameraUp // Head is up (set to 0,-1,0 to look upside-down) ); m_3DViewBack = m_3DView; - m_bCameraUpdated = true; } void OpenGL3DRenderer::ProcessUnrenderedShape() |