summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-23 17:25:20 +0200
committerNoel Grandin <noel@peralex.com>2014-05-26 14:47:32 +0200
commit7a0069b2e2d55e4bf47c48e1f54b86e4b9149998 (patch)
tree6c38738e855be48f139725ae189db6247e25d820
parent2bc74417150dd4301d4b864b6c95942384eb5daf (diff)
cid#1213562 Uninitialized scalar field
Change-Id: Ieec390aa1af1af53f375d707b920382f7a994fc1
-rw-r--r--chart2/source/view/main/GL3DRenderer.cxx20
1 files changed, 19 insertions, 1 deletions
diff --git a/chart2/source/view/main/GL3DRenderer.cxx b/chart2/source/view/main/GL3DRenderer.cxx
index 7182a943e634..7bc4867d5fe8 100644
--- a/chart2/source/view/main/GL3DRenderer.cxx
+++ b/chart2/source/view/main/GL3DRenderer.cxx
@@ -72,9 +72,27 @@ glm::vec4 getColorAsVector(sal_uInt32 nColor)
}
OpenGL3DRenderer::OpenGL3DRenderer():
- m_fViewAngle(30.0f)
+ m_iWidth(0)
+ , m_iHeight(0)
+ , m_3DUBOBuffer(0)
+ , m_3DActualSizeLight(0)
+ , m_NormalBuffer(0)
+ , m_VertexBuffer(0)
+ , m_CubeVertexBuf(0)
+ , m_CubeElementBuf(0)
+ , m_CubeNormalBuf(0)
+ , m_BoundBox(0)
+ , m_BoundBoxNormal(0)
+ , m_TextTexCoordBuf(0)
+ , m_RoundBarMesh()
+ , m_RenderVertexBuf(0)
+ , m_RenderTexCoordBuf(0)
+ , m_fViewAngle(30.0f)
, m_fHeightWeight(1.0f)
, mbPickingMode(false)
+ , mnPickingFbo(0)
+ , mnPickingRboDepth(0)
+ , mnPickingRboColor(0)
{
m_Polygon3DInfo.lineOnly = false;
m_Polygon3DInfo.twoSidesLighting = false;