Index: tools/vulkan/VulkanTestContext.h |
diff --git a/tools/vulkan/VulkanTestContext.h b/tools/vulkan/VulkanTestContext.h |
index c1535b99523f82c8d815053f7830adecb94a4501..83038dbf11a49fffee80ebbcb7a4e27ac9a3ea75 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(int x, int y) { |
bsalomon
2016/04/06 18:06:48
w, h?
|
+ this->createSwapchain(x, y); |
} |
GrBackendContext getBackendContext() { return (GrBackendContext)fBackendContext.get(); } |