Resize QOpenGLFramebufferObject

  • Pretty simpley question: I render into a texture in my widget's paintGL function and need to resize the buffer if my window does so, too. Since QOpenGLFramebufferObject is missing a resize method or anything of this sort, is it ok performance-wise if I recreate the FBO each time there is a new window size?