44#include <QOpenGLContext>
46bool ACG::Profile::isCoreProfile()
48 return QOpenGLContext::currentContext()->format().profile() == QSurfaceFormat::CoreProfile;
52bool ACG::Profile::isCompatibilityProfile()
55 return QOpenGLContext::currentContext()->format().profile() == QSurfaceFormat::CompatibilityProfile;