Skip to content
Snippets Groups Projects
Commit 4ecb2ba0 authored by Stéphane Albert's avatar Stéphane Albert
Browse files

ENH: Shared OpenGL contexts between quicklook view and image-model view.

parent 9cfd71ec
No related branches found
No related tags found
No related merge requests found
......@@ -146,10 +146,12 @@ MainWindow
//
// EXPERIMENTAL QUICKLOOK Widget.
assert( qobject_cast< GLImageWidget* >( centralWidget() )!=NULL );
GLImageWidget* qlWidget = new GLImageWidget(
qlViewManipulator,
qlModelRenderer,
this
this,
qobject_cast< GLImageWidget* >( centralWidget() )
);
// TODO: Set better minimum size for quicklook GL widget.
qlWidget->setMinimumSize(100,100);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment