summaryrefslogtreecommitdiff
path: root/thirdparty/thorvg/src/loaders/external_png/tvgPngLoader.h
diff options
context:
space:
mode:
authorRedworkDE <10944644+RedworkDE@users.noreply.github.com>2023-04-07 17:44:36 +0200
committerYuri Sizov <yuris@humnom.net>2023-04-07 17:44:36 +0200
commit4cc8a689bae5e3fe442a7ddbd962732ebf86a3e7 (patch)
tree1260e8961e05d5862b899a23d0b733846c0b1768 /thirdparty/thorvg/src/loaders/external_png/tvgPngLoader.h
parentf8517e1c4b05a0a6e5fbf85884d814145a136244 (diff)
Update thorvg to 0.8.4
(cherry picked from commit cfed867da1a696692442bd6991449b864707b1d3)
Diffstat (limited to 'thirdparty/thorvg/src/loaders/external_png/tvgPngLoader.h')
-rw-r--r--thirdparty/thorvg/src/loaders/external_png/tvgPngLoader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/thorvg/src/loaders/external_png/tvgPngLoader.h b/thirdparty/thorvg/src/loaders/external_png/tvgPngLoader.h
index 8beff0a3b3..f8c0daa61c 100644
--- a/thirdparty/thorvg/src/loaders/external_png/tvgPngLoader.h
+++ b/thirdparty/thorvg/src/loaders/external_png/tvgPngLoader.h
@@ -36,11 +36,11 @@ public:
bool read() override;
bool close() override;
- unique_ptr<Surface> bitmap() override;
+ unique_ptr<Surface> bitmap(uint32_t colorSpace) override;
private:
png_imagep image = nullptr;
- const uint32_t* content = nullptr;
+ uint32_t* content = nullptr;
};
#endif //_TVG_PNG_LOADER_H_