summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mbgl/gl/context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/gl/context.cpp b/src/mbgl/gl/context.cpp
index fc51dc859b..9c7898cc1d 100644
--- a/src/mbgl/gl/context.cpp
+++ b/src/mbgl/gl/context.cpp
@@ -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) {