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

Merge branch 'proper_context_creation' into 'master'

Proper context creation

See merge request !97
parents 4d0eb016 e84d64ef
This diff is collapsed.
......@@ -153,7 +153,7 @@ glViewer::glViewer( QGraphicsScene* _scene,
createWidgets();
// bind GL context to GL state class
glstate_ = new ACG::GLState(true, _glWidget->format().profile() == OFGLFormat::CompatibilityProfile);
glstate_ = new ACG::GLState(true, _glWidget->format().profile() != OFGLFormat::CoreProfile);
properties_.setglState( glstate_ );
......
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