glgsg: Delete multisample FBO properly

Related to #1166
This commit is contained in:
rdb 2021-08-03 11:42:04 +02:00
parent 1f84469cd9
commit 7ac7a95843

View File

@ -1697,6 +1697,11 @@ close_buffer() {
_fbo.clear();
}
if (_fbo_multisample != 0) {
glgsg->_glDeleteFramebuffers(1, &_fbo_multisample);
_fbo_multisample = 0;
}
report_my_gl_errors();
// Release the Gsg