summaryrefslogtreecommitdiff
path: root/include/mbgl/gl/implementation.hpp
blob: a0101085fa9feadaad83b7ef628f423275564e09 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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
#elif defined(__OSMESA__)
    #define MBGL_USE_OSMESA 1
#else
    #define MBGL_USE_GLX 1
#endif