Fix assert on gfx resource cleanup
This commit is contained in:
committed by
Mikko Pulkki
parent
488e550895
commit
a6ba6c0e85
@@ -61,8 +61,8 @@ Context::Context(RendererBackend& backend_)
|
||||
Context::~Context() {
|
||||
if (cleanupOnDestruction) {
|
||||
reset();
|
||||
assert(stats.isZero());
|
||||
}
|
||||
assert(stats.isZero());
|
||||
}
|
||||
|
||||
void Context::initializeExtensions(const std::function<gl::ProcAddress(const char*)>& getProcAddress) {
|
||||
|
||||
Reference in New Issue
Block a user