Changeset View
Changeset View
Standalone View
Standalone View
abstract_opengl_context_attribute_builder.cpp
Show All 23 Lines | |||||
24 | 24 | | |||
25 | QDebug AbstractOpenGLContextAttributeBuilder::operator<<(QDebug dbg) const | 25 | QDebug AbstractOpenGLContextAttributeBuilder::operator<<(QDebug dbg) const | ||
26 | { | 26 | { | ||
27 | QDebugStateSaver saver(dbg); | 27 | QDebugStateSaver saver(dbg); | ||
28 | dbg.nospace() << "\nVersion requested:\t" << isVersionRequested() << "\n"; | 28 | dbg.nospace() << "\nVersion requested:\t" << isVersionRequested() << "\n"; | ||
29 | if (isVersionRequested()) { | 29 | if (isVersionRequested()) { | ||
30 | dbg.nospace() << "Version:\t" << majorVersion() << "." << minorVersion() << "\n"; | 30 | dbg.nospace() << "Version:\t" << majorVersion() << "." << minorVersion() << "\n"; | ||
31 | } | 31 | } | ||
32 | dbg.nospace() << "Robust:\t" << isRobust(); | 32 | dbg.nospace() << "Robust:\t" << isRobust() << "\n"; | ||
33 | dbg.nospace() << "Forward compatible:\t" << isForwardCompatible() << "\n"; | ||||
34 | dbg.nospace() << "Core profile:\t" << isCoreProfile() << "\n"; | ||||
35 | dbg.nospace() << "Compatibility profile:\t" << isCompatibilityProfile(); | ||||
33 | return dbg; | 36 | return dbg; | ||
34 | } | 37 | } | ||
35 | 38 | | |||
36 | } | 39 | } |