|
@@ -199,7 +199,7 @@ public:
|
|
|
|
|
|
void fill(Color);
|
|
|
|
|
|
- [[nodiscard]] bool has_alpha_channel() const { return m_format == BitmapFormat::BGRA8888; }
|
|
|
+ [[nodiscard]] bool has_alpha_channel() const { return m_format == BitmapFormat::BGRA8888 || m_format == BitmapFormat::RGBA8888; }
|
|
|
[[nodiscard]] BitmapFormat format() const { return m_format; }
|
|
|
|
|
|
void set_mmap_name(String const&);
|