Clear the duplicate FBO on shutdown.
This commit is contained in:
parent
b48de952fd
commit
c6dc6b46e5
1 changed files with 3 additions and 0 deletions
|
@ -332,6 +332,9 @@ FramebufferManager::~FramebufferManager() {
|
|||
}
|
||||
SetNumExtraFBOs(0);
|
||||
|
||||
if (renderCopy_)
|
||||
fbo_destroy(renderCopy_);
|
||||
|
||||
#ifndef USING_GLES2
|
||||
delete [] pixelBufObj_;
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue