[test] Fixed Map-GetImage

Followup to #7096.
This commit is contained in:
Minh Nguyễn
2016-12-05 18:48:00 -08:00
committed by Minh Nguyễn
parent 1045934d5e
commit 9456bec172

View File

@@ -398,7 +398,7 @@ TEST(Map, RemoveImage) {
TEST(Map, GetImage) {
MapTest test;
Map map(test.backend, test.view.size, 1, test.fileSource, test.threadPool, MapMode::Still);
Map map(test.backend, test.view.getSize(), 1, test.fileSource, test.threadPool, MapMode::Still);
auto decoded = decodeImage(util::read_file("test/fixtures/sprites/default_marker.png"));
auto image = std::make_unique<SpriteImage>(std::move(decoded), 1.0);