summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMike Morris <michael.patrick.morris@gmail.com>2015-08-20 16:11:32 -0400
committerMike Morris <michael.patrick.morris@gmail.com>2015-08-25 14:39:49 -0400
commit4540c3c0e8c80de4f0074c1c4328840ebf708470 (patch)
treeed131f161734d494655b05fe65b20c44d15f6daa /test
parent15a5532d76c387142db60913c4ce0876d4450eb8 (diff)
downloadqtlocation-mapboxgl-4540c3c0e8c80de4f0074c1c4328840ebf708470.tar.gz
View::swap -> View::beforeRender View::afterRender
To be able to resize the framebuffer on the map thread in HeadlessView.
Diffstat (limited to 'test')
-rw-r--r--test/fixtures/mock_view.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/fixtures/mock_view.hpp b/test/fixtures/mock_view.hpp
index 17ad6ccfad..e608545da5 100644
--- a/test/fixtures/mock_view.hpp
+++ b/test/fixtures/mock_view.hpp
@@ -20,7 +20,8 @@ public:
void deactivate() override {};
void notify() override {};
void invalidate() override {}
- void swap() override {}
+ void beforeRender() override {}
+ void afterRender() override {}
};
}