diff options
Diffstat (limited to 'source/modules/asura-core/Image/StbDecoder.cpp')
-rw-r--r-- | source/modules/asura-core/Image/StbDecoder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/modules/asura-core/Image/StbDecoder.cpp b/source/modules/asura-core/Image/StbDecoder.cpp index 8d3537c..101b148 100644 --- a/source/modules/asura-core/Image/StbDecoder.cpp +++ b/source/modules/asura-core/Image/StbDecoder.cpp @@ -1,4 +1,4 @@ -#include <asura-utils/Exceptions/Exception.h> +#include <asura-base/Exception.h> #include "StbDecoder.h" @@ -10,7 +10,7 @@ using namespace AEGraphics; namespace_begin(AsuraEngine) namespace_begin(Image) -bool STBDecoder::CanDecode(IO::DataBuffer& buffer) +bool STBDecoder::CanDecode(FileSystem::DataBuffer& buffer) { int w = 0; int h = 0; @@ -21,7 +21,7 @@ bool STBDecoder::CanDecode(IO::DataBuffer& buffer) return status == 1 && w > 0 && h > 0; } -void STBDecoder::Decode(IO::DataBuffer& db, ImageData& imageData) +void STBDecoder::Decode(FileSystem::DataBuffer& db, ImageData& imageData) { const stbi_uc *buffer = (const stbi_uc *)db.GetData(); // databufferݳ |