From 0828af29b75c895b834f6629a55494db47ff41e7 Mon Sep 17 00:00:00 2001 From: lixianjing Date: Tue, 7 May 2019 17:48:33 +0800 Subject: [PATCH] refactor image loader to support custom image loader --- tests/image_manager_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/image_manager_test.cc b/tests/image_manager_test.cc index 89d5ba39b..a9eee76ba 100644 --- a/tests/image_manager_test.cc +++ b/tests/image_manager_test.cc @@ -56,7 +56,7 @@ TEST(ImageManager, add) { TEST(ImageManager, locale) { bitmap_t bmp; memset(&bmp, 0x00, sizeof(bmp)); - image_manager_t* imm = image_manager_create(image_loader_stb()); + image_manager_t* imm = image_manager_create(); assets_manager_t* am = assets_manager_create(0); assets_manager_set_res_root(am, "tests/testdata");