diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2018-02-08 17:53:05 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2018-02-08 17:53:05 +0100 |
commit | 153d8512b7c0bc5ee80e26c868fb52dd66ee62cc (patch) | |
tree | 821349520909225e8a2a138a500b0544970f870c /platform/default/mbgl/gl/headless_backend.cpp | |
parent | 4498917a3b9dbf6cc9728da01f479a027f27f902 (diff) | |
download | qtlocation-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.cpp | 4 |
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() { |