Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Check the value of QSurfaceFormat::DefaultSwapBehavior?



  • Is there a way to check whether QSurfaceFormat:: DefaultSwapBehavior corresponds to single, double or triple buffering? One can call QSurfaceFormat::swapBehavior() to get the currently set swap behavior, but how do you determine if default is single, double, or triple? Thank you!


Log in to reply