Commit f7ebd05c authored by Jan Möbius's avatar Jan Möbius

Dennis:

Call-examiner-gl-initalisation-function


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5568 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 203ba1dc
......@@ -76,6 +76,11 @@ void QtGLGraphicsScene::drawBackground(QPainter *_painter, const QRectF &_rect)
// we use GLEW to manage extensions
// initialize it first
glewInit();
for (unsigned int i = 0; i < views_->size (); i++)
{
views_->at(i)->initializeGL ();
}
initialized = true;
}
_painter->setBackground(QApplication::palette().window());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment