summaryrefslogtreecommitdiff
path: root/platform/linux
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-02-08 15:45:05 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-02-12 19:42:08 +0200
commit690833ef9212756cbdd1945e2f447f22cc05816e (patch)
tree4dca89518c6b54c60c669aacd8fbff9c15801418 /platform/linux
parent470b01847db1046bbae872f932b0e83ebf3af5f8 (diff)
downloadqtlocation-mapboxgl-690833ef9212756cbdd1945e2f447f22cc05816e.tar.gz
[core] Switch to the new OpenGL abstraction
This patch will make Mapbox GL Core never use OpenGL directly. We should consider locking into OpenGL ES 2.0 to simplify the code path and remove #ifdefs.
Diffstat (limited to 'platform/linux')
-rw-r--r--platform/linux/config.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/linux/config.cmake b/platform/linux/config.cmake
index 1df501a84e..6d4715e451 100644
--- a/platform/linux/config.cmake
+++ b/platform/linux/config.cmake
@@ -41,6 +41,9 @@ macro(mbgl_platform_core)
endif()
target_sources(mbgl-core
+ # GL
+ PRIVATE platform/linux/src/gl_functions.cpp
+
# Misc
PRIVATE platform/default/src/mbgl/util/logging_stderr.cpp
PRIVATE platform/default/src/mbgl/util/string_stdlib.cpp