Mercurial > hg > orthanc-stone
comparison Framework/OpenGL/WebAssemblyOpenGLContext.cpp @ 891:0aff28f15ea2
new abstraction: IViewport
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 10 Jul 2019 18:18:42 +0200 |
parents | 7efa2543699d |
children | f557b18d287f |
comparison
equal
deleted
inserted
replaced
890:77c96ba899f9 | 891:0aff28f15ea2 |
---|---|
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 **/ | 19 **/ |
20 | 20 |
21 | 21 |
22 #include "WebAssemblyOpenGLContext.h" | 22 #include "WebAssemblyOpenGLContext.h" |
23 | |
24 #if ORTHANC_ENABLE_WASM == 1 | |
25 | 23 |
26 #include <Core/OrthancException.h> | 24 #include <Core/OrthancException.h> |
27 | 25 |
28 #include <emscripten/html5.h> | 26 #include <emscripten/html5.h> |
29 #include <boost/math/special_functions/round.hpp> | 27 #include <boost/math/special_functions/round.hpp> |
173 assert(pimpl_.get() != NULL); | 171 assert(pimpl_.get() != NULL); |
174 return pimpl_->GetCanvasIdentifier(); | 172 return pimpl_->GetCanvasIdentifier(); |
175 } | 173 } |
176 } | 174 } |
177 } | 175 } |
178 | |
179 #endif |