Commit 9e9f7e42 authored by Kersten Schuster's avatar Kersten Schuster
Browse files

Treat NoProfile like Compat - not like Core.

parent 4d0eb016
......@@ -153,7 +153,7 @@ glViewer::glViewer( QGraphicsScene* _scene,
// 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