diff options
author | chai <chaifix@163.com> | 2019-03-20 22:43:25 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-20 22:43:25 +0800 |
commit | 82956beb1fe17e1226327638c8ab22b5f5adfc1d (patch) | |
tree | b47464697174d5f9db4c8c9ab4a25cc384927d97 /source/libs/asura-lib-core/graphics/image_data.cpp | |
parent | 1497dccd63a84b7ee2b229b1ad9c5c02718f2a78 (diff) |
*misc
Diffstat (limited to 'source/libs/asura-lib-core/graphics/image_data.cpp')
-rw-r--r-- | source/libs/asura-lib-core/graphics/image_data.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/libs/asura-lib-core/graphics/image_data.cpp b/source/libs/asura-lib-core/graphics/image_data.cpp index 821bfd6..28c706a 100644 --- a/source/libs/asura-lib-core/graphics/image_data.cpp +++ b/source/libs/asura-lib-core/graphics/image_data.cpp @@ -1,6 +1,7 @@ #include "image_data.h" #include "png_decoder.h" #include "stb_decoder.h" +#include "image_decoder.h" namespace AsuraEngine { @@ -35,7 +36,7 @@ namespace AsuraEngine { if (decoder->CanDecode(buffer)) { - decoder->Decode(buffer, this); + decoder->Decode(buffer, *this); return; } } |