diff --git a/Userland/Libraries/LibGfx/Bitmap.h b/Userland/Libraries/LibGfx/Bitmap.h index 398aaffb744..d6e58959c09 100644 --- a/Userland/Libraries/LibGfx/Bitmap.h +++ b/Userland/Libraries/LibGfx/Bitmap.h @@ -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&);