prevent access to uninitialized variables

Change-Id: I1a12e2453ec935dc642135c30a36e1a97fc3d0f9
This commit is contained in:
Markus Mohrhard
2014-05-17 07:09:50 +02:00
committed by Markus Mohrhard
parent f89296db59
commit f5376d87d7

View File

@@ -31,6 +31,8 @@ GL3DBarChart::GL3DBarChart(
mrWindow(rWindow),
mpCamera(NULL)
{
Size aSize = mrWindow.GetSizePixel();
mpRenderer->SetSize(aSize);
mrWindow.setRenderer(this);
mpRenderer->init();
}