summaryrefslogtreecommitdiff
path: root/platform/default/mbgl/gl/headless_backend.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 /platform/default/mbgl/gl/headless_backend.cpp
parent4498917a3b9dbf6cc9728da01f479a027f27f902 (diff)
downloadqtlocation-mapboxgl-upstream/glcontextmode.tar.gz
[core] allow disabling the use of extensions via GLContextModeupstream/glcontextmode
Diffstat (limited to 'platform/default/mbgl/gl/headless_backend.cpp')
-rw-r--r--platform/default/mbgl/gl/headless_backend.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/default/mbgl/gl/headless_backend.cpp b/platform/default/mbgl/gl/headless_backend.cpp
index ba08aecab7..f785865667 100644
--- a/platform/default/mbgl/gl/headless_backend.cpp
+++ b/platform/default/mbgl/gl/headless_backend.cpp
@@ -21,8 +21,8 @@ public:
gl::Framebuffer framebuffer;
};
-HeadlessBackend::HeadlessBackend(Size size_)
- : size(size_) {
+HeadlessBackend::HeadlessBackend(Size size_, GLContextMode mode_)
+ : RendererBackend(mode_), size(size_) {
}
HeadlessBackend::~HeadlessBackend() {