comparison Framework/OpenGL/WebAssemblyOpenGLContext.h @ 897:9c2f6d6b9f4a am-dev

Merge
author Alain Mazy <alain@mazy.be>
date Tue, 16 Jul 2019 12:37:29 +0200
parents 0aff28f15ea2
children 1091b2adeb5a
comparison
equal deleted inserted replaced
896:875bd6aca5e6 897:9c2f6d6b9f4a
23 23
24 #if !defined(ORTHANC_ENABLE_WASM) 24 #if !defined(ORTHANC_ENABLE_WASM)
25 # error Macro ORTHANC_ENABLE_WASM must be defined 25 # error Macro ORTHANC_ENABLE_WASM must be defined
26 #endif 26 #endif
27 27
28 #if ORTHANC_ENABLE_WASM == 1 28 #if ORTHANC_ENABLE_WASM != 1
29 # error This file can only be used if targeting WebAssembly
30 #endif
31
32 #if !defined(ORTHANC_ENABLE_OPENGL)
33 # error The macro ORTHANC_ENABLE_OPENGL must be defined
34 #endif
35
36 #if ORTHANC_ENABLE_OPENGL != 1
37 # error Support for OpenGL is disabled
38 #endif
29 39
30 #include "IOpenGLContext.h" 40 #include "IOpenGLContext.h"
31 41
32 #include <boost/shared_ptr.hpp> 42 #include <boost/shared_ptr.hpp>
33 43
56 66
57 const std::string& GetCanvasIdentifier() const; 67 const std::string& GetCanvasIdentifier() const;
58 }; 68 };
59 } 69 }
60 } 70 }
61
62 #endif