Index: tools/vulkan/VulkanTestContext.h |
diff --git a/tools/vulkan/VulkanTestContext.h b/tools/vulkan/VulkanTestContext.h |
index c1535b99523f82c8d815053f7830adecb94a4501..b300a578a2a7d43a26c12c82a0788f554d3100af 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(); } |