diff Framework/Viewport/WebAssemblyViewport.h @ 1045:6a9300ecfa13

tests for context loss are now restricted to WebAssembly
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 09 Oct 2019 17:17:56 +0200
parents a7351ad54960
children 3c9529edf5fd
line wrap: on
line diff
--- a/Framework/Viewport/WebAssemblyViewport.h	Wed Oct 09 15:58:39 2019 +0200
+++ b/Framework/Viewport/WebAssemblyViewport.h	Wed Oct 09 17:17:56 2019 +0200
@@ -65,8 +65,6 @@
 
     virtual void Refresh() ORTHANC_OVERRIDE;
 
-    virtual bool IsContextLost() ORTHANC_OVERRIDE;
-
     // this does NOT return whether the context is lost! This is called to 
     // tell Stone that the context has been lost
     bool OpenGLContextLost();
@@ -74,12 +72,9 @@
     // This should be called to indicate that the context has been lost
     bool OpenGLContextRestored();
 
-
-    virtual void* DebugGetInternalContext() const ORTHANC_OVERRIDE;
-
   private:
-    virtual void DisableCompositor() ORTHANC_OVERRIDE;
-    virtual void RestoreCompositor() ORTHANC_OVERRIDE;
+    void DisableCompositor();
+    void RestoreCompositor();
 
     void RegisterContextCallbacks();
   };
@@ -105,5 +100,4 @@
       return &compositor_;
     }
   };
-
 }