51QOpenGLVersionProfile::QOpenGLVersionProfile(
const QSurfaceFormat &format)
52 : d(
new QOpenGLVersionProfilePrivate)
54 d->majorVersion = format.majorVersion();
55 d->minorVersion = format.minorVersion();
56 d->profile = format.profile();
163QDebug operator<<(QDebug debug,
const QOpenGLVersionProfile &vp)
165 QDebugStateSaver saver(debug);
167 debug <<
"QOpenGLVersionProfile(";
169 debug << vp.version().first <<
'.' << vp.version().second
170 <<
", profile=" << vp.profile();