Commit 081def21 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'fixOSXCompatProfileDetection' into 'master'

fixOSXCompatibilityProfileDetection

See merge request !74
parents 296459bf d7980db3
......@@ -50,5 +50,6 @@ bool ACG::Profile::isCoreProfile()
bool ACG::Profile::isCompatibilityProfile()
{
return QGLContext::currentContext()->format().profile() == QGLFormat::CompatibilityProfile;
// We treat Qt NoProfile the same way as compatibility profile to support OSX
return QGLContext::currentContext()->format().profile() != QGLFormat::CoreProfile;
}
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