Skip to content
Snippets Groups Projects
Commit 5e2f7e32 authored by Jan Möbius's avatar Jan Möbius
Browse files

Removed Output

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5581 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2c86a948
No related branches found
No related tags found
No related merge requests found
......@@ -125,7 +125,6 @@ CoreWidget( QVector<ViewMode*>& _viewModes,
format.setStencil(true);
// Construct GL context & widget
baseLayout_ = new QtMultiViewLayout;
baseLayout_->setContentsMargins(0,0,0,0);
......@@ -134,12 +133,8 @@ CoreWidget( QVector<ViewMode*>& _viewModes,
glScene_ = new QtGLGraphicsScene (&examiner_widgets_, baseLayout_);
// is stereo possible, use it?
if (format.stereo()) {
std::cerr << "Stereo buffer requested: " << (glWidget_->format().stereo() ? "ok\n" : "failed\n");
}
OpenFlipper::Options::glStereo(glWidget_->format().stereo());
glView_->setViewport(glWidget_);
glView_->setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
glView_->setScene(glScene_);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment