summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/Graphics/STBDecoder.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asura.Engine/Graphics/STBDecoder.h')
-rw-r--r--Source/Asura.Engine/Graphics/STBDecoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Asura.Engine/Graphics/STBDecoder.h b/Source/Asura.Engine/Graphics/STBDecoder.h
index d89042e..5567466 100644
--- a/Source/Asura.Engine/Graphics/STBDecoder.h
+++ b/Source/Asura.Engine/Graphics/STBDecoder.h
@@ -11,13 +11,13 @@ namespace AsuraEngine
///
/// ʹstb_imageѹJPEGTGABMPļ
///
- class STBDecoder final : public ImageDecoder
+ class STBDecoder ASURA_FINAL: public ImageDecoder
{
public:
- bool CanDecode(const Filesystem::DataBuffer* buffer) override;
+ bool CanDecode(const Filesystem::DataBuffer& buffer) override;
- void Decode(const Filesystem::DataBuffer* buffer, ImageData* data) override;
+ void Decode(const Filesystem::DataBuffer& buffer, ImageData& data) override;
};