diff options
Diffstat (limited to 'include/mbgl/gl/implementation.hpp')
-rw-r--r-- | include/mbgl/gl/implementation.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/mbgl/gl/implementation.hpp b/include/mbgl/gl/implementation.hpp new file mode 100644 index 0000000000..4e3a3e51c7 --- /dev/null +++ b/include/mbgl/gl/implementation.hpp @@ -0,0 +1,14 @@ +#pragma once + +#if defined(__QT__) + #define MBGL_USE_QT 1 +#elif defined(__APPLE__) + #include <TargetConditionals.h> + #if TARGET_OS_IOS + #define MBGL_USE_EAGL 1 + #else + #define MBGL_USE_CGL 1 + #endif +#else + #define MBGL_USE_GLX 1 +#endif |