guard primaryFB tex in end()

This commit is contained in:
vaxerski
2022-10-28 21:46:19 +01:00
parent 9e227a52c0
commit d193d70ecf
2 changed files with 13 additions and 0 deletions

View File

@@ -74,6 +74,7 @@ void CFramebuffer::release() {
m_cTex.m_iTexID = 0;
m_iFb = -1;
m_Size = Vector2D();
}
CFramebuffer::~CFramebuffer() {