mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 12:08:16 +08:00
refactor image loader to support custom image loader
This commit is contained in:
parent
3b14b9758f
commit
0828af29b7
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user