diff options
Diffstat (limited to 'platform/default/headless_backend_osmesa.cpp')
| -rw-r--r-- | platform/default/headless_backend_osmesa.cpp | 3 |
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); } |
