46 bool ACG::Profile::isCoreProfile()
48 return QGLContext::currentContext()->format().profile() == QGLFormat::CoreProfile;
51 bool ACG::Profile::isCompatibilityProfile()
54 return QGLContext::currentContext()->format().profile() != QGLFormat::CoreProfile;