From 6be6263ebf32c45dcbbc2dbe2937422553bc897a Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Mon, 15 May 2017 14:18:01 -0700 Subject: [core] Replace inline SpriteAtlas updates with diffing --- test/sprite/sprite_atlas.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/sprite') diff --git a/test/sprite/sprite_atlas.test.cpp b/test/sprite/sprite_atlas.test.cpp index 4291fe9902..3226f19c1b 100644 --- a/test/sprite/sprite_atlas.test.cpp +++ b/test/sprite/sprite_atlas.test.cpp @@ -98,7 +98,7 @@ TEST(SpriteAtlas, Updates) { for (size_t i = 0; i < image2.bytes(); i++) { image2.data.get()[i] = 255; } - atlas.addImage(makeMutable("one", std::move(image2), 1)); + atlas.updateImage(makeMutable("one", std::move(image2), 1)); test::checkImage("test/fixtures/sprite_atlas/updates_after", atlas.getAtlasImage()); } -- cgit v1.2.1