diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-02-17 10:57:21 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-02-20 12:04:21 -0800 |
commit | 535457262011f3790069c8426e7b143f3aba26d0 (patch) | |
tree | 5b78cc5fc1d8215fb315952af4a0960b70e26b52 /test/map | |
parent | ed7844d08f3cffaba00cc974c4ab6b26c84dd98d (diff) | |
download | qtlocation-mapboxgl-535457262011f3790069c8426e7b143f3aba26d0.tar.gz |
[core] Eliminate manual HeadlessBackend activation management
Diffstat (limited to 'test/map')
-rw-r--r-- | test/map/map.test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/map/map.test.cpp b/test/map/map.test.cpp index aec181e058..a00a4efacc 100644 --- a/test/map/map.test.cpp +++ b/test/map/map.test.cpp @@ -4,6 +4,7 @@ #include <mbgl/test/fixture_log_observer.hpp> #include <mbgl/map/map.hpp> +#include <mbgl/map/backend_scope.hpp> #include <mbgl/gl/headless_backend.hpp> #include <mbgl/gl/offscreen_view.hpp> #include <mbgl/gl/context.hpp> @@ -574,6 +575,7 @@ TEST(Map, TEST_DISABLED_ON_CI(ContinuousRendering)) { }); } + BackendScope scope(backend); map.render(view); }}; |