aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/vulkan/viewer/GMSlide.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/vulkan/viewer/GMSlide.h')
-rw-r--r--tools/vulkan/viewer/GMSlide.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/vulkan/viewer/GMSlide.h b/tools/vulkan/viewer/GMSlide.h
index c9ed0844ea..6b03527202 100644
--- a/tools/vulkan/viewer/GMSlide.h
+++ b/tools/vulkan/viewer/GMSlide.h
@@ -16,6 +16,8 @@ public:
GMSlide(skiagm::GM* gm);
~GMSlide() override;
+ SkISize getDimensions() const override { return fGM->getISize(); }
+
void draw(SkCanvas* canvas) override;
bool animate(const SkAnimTimer&) override;