summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-10 04:31:07 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-05-12 03:00:05 +0200
commit27340aeb1975ef93c6acfb1ebe2f79d9dc0f48bc (patch)
tree008bfe99a2e65f32d7720f5735c120ab0fcb18d8
parent57c681d8ee2923a7592f1b8f6edc3cfa39384cf6 (diff)
we need to call OpenGL3DRenderer::init
Change-Id: I9bcdc7d033835bf3cdb6f9d4770aaee284f7eaf7
-rw-r--r--chart2/source/view/charttypes/GL3DBarChart.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index b38e1eee2c95..3775d0450dd1 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -162,6 +162,7 @@ void GL3DBarChart::render()
{
mrWindow.getContext()->makeCurrent();
Size aSize = mrWindow.GetSizePixel();
+ mpRenderer->init();
mpRenderer->SetSize(aSize);
mrWindow.getContext()->setWinSize(aSize);
for(boost::ptr_vector<opengl3D::Renderable3DObject>::iterator itr = maShapes.begin(),