diff options
Diffstat (limited to 'tools/vulkan/VulkanTestContext.h')
-rw-r--r-- | tools/vulkan/VulkanTestContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/vulkan/VulkanTestContext.h b/tools/vulkan/VulkanTestContext.h index c1535b9952..b300a578a2 100644 --- a/tools/vulkan/VulkanTestContext.h +++ b/tools/vulkan/VulkanTestContext.h @@ -42,8 +42,8 @@ public: bool isValid() { return SkToBool(fBackendContext.get()); } - void resize() { - this->createSwapchain(0, 0); + void resize(uint32_t w, uint32_t h) { + this->createSwapchain(w, h); } GrBackendContext getBackendContext() { return (GrBackendContext)fBackendContext.get(); } |