diff Framework/Viewport/WebAssemblyViewport.h @ 1083:f72d1ab42932 broker

integration mainline->broker
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 Oct 2019 13:14:05 +0200
parents 391fb6d6905d
children a28861abf888 ce3052f28f2e
line wrap: on
line diff
--- a/Framework/Viewport/WebAssemblyViewport.h	Thu Oct 17 21:25:03 2019 +0200
+++ b/Framework/Viewport/WebAssemblyViewport.h	Tue Oct 22 13:14:05 2019 +0200
@@ -73,6 +73,11 @@
       return (compositor_.get() != NULL);
     }
     
+    bool IsContextLost()
+    {
+      return context_.IsContextLost();
+    }
+
     virtual ICompositor& GetCompositor() ORTHANC_OVERRIDE;
 
     virtual void Refresh() ORTHANC_OVERRIDE;