summaryrefslogtreecommitdiff
path: root/platform/default
diff options
context:
space:
mode:
Diffstat (limited to 'platform/default')
-rw-r--r--platform/default/headless_backend_osmesa.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/platform/default/headless_backend_osmesa.cpp b/platform/default/headless_backend_osmesa.cpp
index 081bddf170..8ec6079bd0 100644
--- a/platform/default/headless_backend_osmesa.cpp
+++ b/platform/default/headless_backend_osmesa.cpp
@@ -12,9 +12,6 @@ struct OSMesaImpl : public HeadlessBackend::Impl {
}
~OSMesaImpl() {
- if (glContext != OSMesaGetCurrentContext()) {
- activateContext();
- }
OSMesaDestroyContext(glContext);
}