mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-21 20:39:08 -06:00
Fix bug with resizing fbo
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user