Mercurial > hg > orthanc-stone
diff Framework/OpenGL/WebAssemblyOpenGLContext.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 | 7fad86d62135 |
line wrap: on
line diff
--- a/Framework/OpenGL/WebAssemblyOpenGLContext.h Wed Oct 09 15:58:39 2019 +0200 +++ b/Framework/OpenGL/WebAssemblyOpenGLContext.h Wed Oct 09 17:17:56 2019 +0200 @@ -38,6 +38,7 @@ #endif #include "IOpenGLContext.h" +#include "IOpenGLContextLossMonitor.h" #include <Core/Enumerations.h> @@ -47,7 +48,9 @@ { namespace OpenGL { - class WebAssemblyOpenGLContext : public OpenGL::IOpenGLContext + class WebAssemblyOpenGLContext : + public OpenGL::IOpenGLContext, + public OpenGL::IOpenGLContextLossMonitor { private: class PImpl;