Exemplo n.º 1
0
QOpenGLVersionProfile QOpenGLFunctions_3_3_Core::versionProfile()
{
    QOpenGLVersionProfile v;
    v.setVersion(3, 3);
    v.setProfile(QSurfaceFormat::CoreProfile);
    return v;
}
QOpenGLVersionProfile QOpenGLFunctions_4_1_Compatibility::versionProfile()
{
    QOpenGLVersionProfile v;
    v.setVersion(4, 1);
    v.setProfile(QSurfaceFormat::CompatibilityProfile);
    return v;
}