Commit 14a003a3 authored by Martin Schultz's avatar Martin Schultz
Browse files

mark glStereo option as temporary disabled, if the opengl context does

not support it.
parent f99c2c04
...@@ -223,7 +223,7 @@ CoreWidget( QVector<ViewMode*>& _viewModes, ...@@ -223,7 +223,7 @@ CoreWidget( QVector<ViewMode*>& _viewModes,
glScene_ = new QtGLGraphicsScene (&examiner_widgets_, baseLayout_); glScene_ = new QtGLGraphicsScene (&examiner_widgets_, baseLayout_);
// is stereo possible, use it? // is stereo possible, use it?
OpenFlipper::Options::glStereo(glWidget_->format().stereo()); OpenFlipper::Options::glStereo(glWidget_->format().stereo(), true);
glView_->setViewport(glWidget_); glView_->setViewport(glWidget_);
glView_->setViewportUpdateMode(QGraphicsView::FullViewportUpdate); glView_->setViewportUpdateMode(QGraphicsView::FullViewportUpdate);
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