we need to call OpenGL3DRenderer::init

Change-Id: I9bcdc7d033835bf3cdb6f9d4770aaee284f7eaf7
This commit is contained in:
Markus Mohrhard
2014-05-10 04:31:07 +02:00
parent 57c681d8ee
commit 27340aeb19

View File

@@ -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(),