summaryrefslogtreecommitdiff
path: root/test/gl/context.test.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2018-02-08 17:53:05 +0100
committerKonstantin Käfer <mail@kkaefer.com>2018-02-08 17:53:05 +0100
commit153d8512b7c0bc5ee80e26c868fb52dd66ee62cc (patch)
tree821349520909225e8a2a138a500b0544970f870c /test/gl/context.test.cpp
parent4498917a3b9dbf6cc9728da01f479a027f27f902 (diff)
downloadqtlocation-mapboxgl-upstream/glcontextmode.tar.gz
[core] allow disabling the use of extensions via GLContextModeupstream/glcontextmode
Diffstat (limited to 'test/gl/context.test.cpp')
-rw-r--r--test/gl/context.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/gl/context.test.cpp b/test/gl/context.test.cpp
index 179ce5de53..920e42bf09 100644
--- a/test/gl/context.test.cpp
+++ b/test/gl/context.test.cpp
@@ -87,7 +87,7 @@ TEST(GLContextMode, Shared) {
ThreadPool threadPool(4);
float pixelRatio { 1 };
- HeadlessFrontend frontend { pixelRatio, fileSource, threadPool, {}, GLContextMode::Shared };
+ HeadlessFrontend frontend { pixelRatio, fileSource, threadPool, {}, GLContextMode::SharedState };
Map map(frontend, MapObserver::nullObserver(), frontend.getSize(), pixelRatio, fileSource, threadPool, MapMode::Static);
map.getStyle().loadJSON(util::read_file("test/fixtures/api/water.json"));