summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/DDSLoader.h
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-11-18 13:47:29 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-18 21:11:30 +0100
commit2b866e3c9b0c6e230054edbbbe431cb1fbe3037e (patch)
tree41d4b7570daeae5d998b81023928dd63eab66544 /Userland/Libraries/LibGfx/DDSLoader.h
parent750f1d580aa0358816ef1896b630e2ffe66ff232 (diff)
downloadserenity-2b866e3c9b0c6e230054edbbbe431cb1fbe3037e.zip
LibGfx: Remove ImageDecoderPlugin::bitmap() in favor of frame(index)
To encourage proper support for multi-frame images throughout the system, get rid of the single-frame convenience bitmap() API.
Diffstat (limited to 'Userland/Libraries/LibGfx/DDSLoader.h')
-rw-r--r--Userland/Libraries/LibGfx/DDSLoader.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/DDSLoader.h b/Userland/Libraries/LibGfx/DDSLoader.h
index 96e1ce21d7..1ba87da25e 100644
--- a/Userland/Libraries/LibGfx/DDSLoader.h
+++ b/Userland/Libraries/LibGfx/DDSLoader.h
@@ -239,7 +239,6 @@ public:
DDSImageDecoderPlugin(const u8*, size_t);
virtual IntSize size() override;
- virtual RefPtr<Gfx::Bitmap> bitmap() override;
virtual void set_volatile() override;
[[nodiscard]] virtual bool set_nonvolatile(bool& was_purged) override;
virtual bool sniff() override;