From 41fbca10f6c6cdd9c1623f1347e7ecb40f5e7f59 Mon Sep 17 00:00:00 2001 From: Mel Date: Sat, 8 Jul 2023 01:20:53 +0200 Subject: Add crude texture transparency --- src/GFX/Image/PPMParser.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/GFX/Image/PPMParser.hpp') diff --git a/src/GFX/Image/PPMParser.hpp b/src/GFX/Image/PPMParser.hpp index 07ff3c2..a7e9b41 100644 --- a/src/GFX/Image/PPMParser.hpp +++ b/src/GFX/Image/PPMParser.hpp @@ -37,6 +37,8 @@ private: bool is_eof() const; + static constexpr RawImage::Pixel alpha_color{192, 0, 255}; + std::string_view m_source; uint64_t m_cursor = 0; }; -- cgit 1.4.1