drive map rendering from main thread
This commit is contained in:
committed by
John Firebaugh
parent
740281cc89
commit
84e2ea886d
@@ -1,4 +1,5 @@
|
||||
#include "../fixtures/util.hpp"
|
||||
#include "../fixtures/mock_view.hpp"
|
||||
|
||||
#include <mbgl/util/run_loop.hpp>
|
||||
#include <mbgl/map/map_data.hpp>
|
||||
@@ -11,18 +12,6 @@
|
||||
|
||||
using namespace mbgl;
|
||||
|
||||
class MockView : public View {
|
||||
public:
|
||||
void activate() override {
|
||||
}
|
||||
void deactivate() override {
|
||||
}
|
||||
void notify() override {
|
||||
}
|
||||
void invalidate(std::function<void()>) override {
|
||||
}
|
||||
};
|
||||
|
||||
TEST(Transform, InvalidScale) {
|
||||
MockView view;
|
||||
Transform transform(view);
|
||||
|
||||
Reference in New Issue
Block a user