diff options
Diffstat (limited to 'Source/Asura.Engine/Graphics/PNGDecoder.h')
-rw-r--r-- | Source/Asura.Engine/Graphics/PNGDecoder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Asura.Engine/Graphics/PNGDecoder.h b/Source/Asura.Engine/Graphics/PNGDecoder.h index dc5bb60..980753f 100644 --- a/Source/Asura.Engine/Graphics/PNGDecoder.h +++ b/Source/Asura.Engine/Graphics/PNGDecoder.h @@ -11,13 +11,13 @@ namespace AsuraEngine /// /// ʹlodepngѹpngļ /// - class PNGDecoder final : public ImageDecoder + class PNGDecoder 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; }; |