we need to call OpenGL3DRenderer::init
Change-Id: I9bcdc7d033835bf3cdb6f9d4770aaee284f7eaf7
This commit is contained in:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user