diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2019-04-02 16:34:32 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2019-04-05 11:49:17 +0200 |
commit | 5cc3d7a73328d6df9c16d27d6aca5b49ba085351 (patch) | |
tree | 0e8b9d6938846bf12ea63b1568c96852501a68cc /test/renderer | |
parent | 4053776c27cde354acc36c27120c54427087721b (diff) | |
download | qtlocation-mapboxgl-5cc3d7a73328d6df9c16d27d6aca5b49ba085351.tar.gz |
[core] move GLContextMode to RendererBackend
Diffstat (limited to 'test/renderer')
-rw-r--r-- | test/renderer/backend_scope.test.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/renderer/backend_scope.test.cpp b/test/renderer/backend_scope.test.cpp index f5c43a34a1..3646afce48 100644 --- a/test/renderer/backend_scope.test.cpp +++ b/test/renderer/backend_scope.test.cpp @@ -7,8 +7,11 @@ using namespace mbgl; -class StubRendererBackend: public gl::RendererBackend { +class StubRendererBackend : public gl::RendererBackend { public: + StubRendererBackend() : gl::RendererBackend(gfx::ContextMode::Unique) { + } + void activate() override { if (activateFunction) activateFunction(); } |