Index: tools/vulkan/Window.cpp |
diff --git a/tools/vulkan/Window.cpp b/tools/vulkan/Window.cpp |
index 2741f4da4ceaa81662b58f3ab091e2b4cf549b54..9042a0cb699df29969a3d5aa6bd3f2854fd464f1 100644 |
--- a/tools/vulkan/Window.cpp |
+++ b/tools/vulkan/Window.cpp |
@@ -67,7 +67,8 @@ void Window::onPaint() { |
} |
- |
void Window::onResize(uint32_t w, uint32_t h) { |
+ fWidth = w; |
+ fHeight = h; |
fTestContext->resize(w, h); |
} |