diff options
Diffstat (limited to 'SharedGraphics/GraphicsBitmap.h')
-rw-r--r-- | SharedGraphics/GraphicsBitmap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SharedGraphics/GraphicsBitmap.h b/SharedGraphics/GraphicsBitmap.h index 26f3efa396..e48584df69 100644 --- a/SharedGraphics/GraphicsBitmap.h +++ b/SharedGraphics/GraphicsBitmap.h @@ -30,6 +30,7 @@ public: int shared_buffer_id() const { return m_shared_buffer ? m_shared_buffer->shared_buffer_id() : -1; } bool has_alpha_channel() const { return m_format == Format::RGBA32; } + Format format() const { return m_format; } private: GraphicsBitmap(Format, const Size&); |