summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGfx/DDSLoader.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGfx/DDSLoader.h')
-rw-r--r--Userland/Libraries/LibGfx/DDSLoader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGfx/DDSLoader.h b/Userland/Libraries/LibGfx/DDSLoader.h
index 1ba87da25e..a313d7d3e2 100644
--- a/Userland/Libraries/LibGfx/DDSLoader.h
+++ b/Userland/Libraries/LibGfx/DDSLoader.h
@@ -245,7 +245,7 @@ public:
virtual bool is_animated() override;
virtual size_t loop_count() override;
virtual size_t frame_count() override;
- virtual ImageFrameDescriptor frame(size_t i) override;
+ virtual ErrorOr<ImageFrameDescriptor> frame(size_t index) override;
private:
OwnPtr<DDSLoadingContext> m_context;