From d4cb498d7abc612029c575fb290eb649a4697d57 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Fri, 21 Jul 2017 16:36:31 -0700 Subject: [all] Merge View into RendererBackend --- test/api/annotations.test.cpp | 2 +- test/renderer/backend_scope.test.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/api/annotations.test.cpp b/test/api/annotations.test.cpp index d6476f9a3e..9e622f780a 100644 --- a/test/api/annotations.test.cpp +++ b/test/api/annotations.test.cpp @@ -50,7 +50,7 @@ TEST(Annotations, SymbolAnnotation) { test.map.addAnnotation(SymbolAnnotation { Point(0, 0), "default_marker" }); test.checkRendering("point_annotation"); -// auto size = test.view.getSize(); +// auto size = test.frontend.getSize(); // auto screenBox = ScreenBox { {}, { double(size.width), double(size.height) } }; // for (uint8_t zoom = test.map.getMinZoom(); zoom <= test.map.getMaxZoom(); ++zoom) { // test.map.setZoom(zoom); diff --git a/test/renderer/backend_scope.test.cpp b/test/renderer/backend_scope.test.cpp index a8c92bb31f..06bf1e7750 100644 --- a/test/renderer/backend_scope.test.cpp +++ b/test/renderer/backend_scope.test.cpp @@ -9,6 +9,8 @@ using namespace mbgl; class StubRendererBackend: public RendererBackend { public: + void bind() override { + } void activate() override { if (activateFunction) activateFunction(); -- cgit v1.2.1