Fix bug with resizing fbo

This commit is contained in:
Ylva Selling
2023-02-09 13:22:53 -05:00
parent 70fd239418
commit aa4e42bcae

View File

@@ -938,6 +938,8 @@ void VideoTileProvider::resizeFBO(int width, int height) {
// Delete old FBO and texture
glDeleteFramebuffers(1, &_fbo);
_frameTexture.reset(nullptr);
_tileCache.clear();
_tileIsReady = false;
createFBO(width, height);
}