Mercurial > hg > orthanc-stone
comparison Framework/Viewport/WebAssemblyViewport.cpp @ 1315:1a08b779be64 broker
warning 4996 (deprecation in jsoncpp) + indentation changes
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Mon, 16 Mar 2020 11:21:13 +0100 |
parents | adf234ecaa00 |
children | cbfdba08e039 |
comparison
equal
deleted
inserted
replaced
1314:9b126de2cde2 | 1315:1a08b779be64 |
---|---|
112 } | 112 } |
113 | 113 |
114 return true; | 114 return true; |
115 } | 115 } |
116 | 116 |
117 | |
118 EM_BOOL WebAssemblyViewport::OnResize(int eventType, const EmscriptenUiEvent *uiEvent, void *userData) | 117 EM_BOOL WebAssemblyViewport::OnResize(int eventType, const EmscriptenUiEvent *uiEvent, void *userData) |
119 { | 118 { |
120 WebAssemblyViewport& that = *reinterpret_cast<WebAssemblyViewport*>(userData); | 119 WebAssemblyViewport& that = *reinterpret_cast<WebAssemblyViewport*>(userData); |
121 | 120 |
122 if (that.compositor_.get() != NULL) | 121 if (that.compositor_.get() != NULL) |