Fix issue where skipGLCalls_ wasn't respected. May help #11063

This commit is contained in:
Henrik Rydgård 2018-10-20 15:59:33 +02:00
parent 42a73e4c76
commit aea5f38a15

View File

@ -83,7 +83,7 @@ GLRenderManager::~GLRenderManager() {
_assert_(frameData_[i].deleter_prev.IsEmpty());
}
// Was anything deleted during shutdown?
deleter_.Perform(this, false);
deleter_.Perform(this, skipGLCalls_);
_assert_(deleter_.IsEmpty());
}