QWindow::setFormat() vs. QOpenGLContext::setFormat()



  • Could someone explain to me how those two functions relate to each other? Does QSurfaceFormat instance has to be the same for QWindow and QOpenGLContext, or maybe I can pass different configurations (if so, how this affect framebuffer and overall my code)?

    Thanks in advance for any helpful replies! :D


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.