diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-11-03 01:59:24 +0200 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2016-11-04 18:43:08 +0200 |
commit | e66cc2e583b8a56f1c9ace613c9bf6c1d0643712 (patch) | |
tree | 9e49031a64da303675cc545bc852163d4eb5abeb /include/mbgl/gl | |
parent | f376827ed21115c43347841e346f908697179fd0 (diff) | |
download | qtlocation-mapboxgl-e66cc2e583b8a56f1c9ace613c9bf6c1d0643712.tar.gz |
[linux] Added OSMesa headless backend
Diffstat (limited to 'include/mbgl/gl')
-rw-r--r-- | include/mbgl/gl/implementation.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/gl/implementation.hpp b/include/mbgl/gl/implementation.hpp index 4e3a3e51c7..a0101085fa 100644 --- a/include/mbgl/gl/implementation.hpp +++ b/include/mbgl/gl/implementation.hpp @@ -9,6 +9,8 @@ #else #define MBGL_USE_CGL 1 #endif +#elif defined(__OSMESA__) + #define MBGL_USE_OSMESA 1 #else #define MBGL_USE_GLX 1 #endif |