Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Unified Diff: tools/vulkan/Window.cpp

Issue 1873733003: More cleanup in the Vulkan viewer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/vulkan/Window.h ('k') | tools/vulkan/viewer/GMSlide.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « tools/vulkan/Window.h ('k') | tools/vulkan/viewer/GMSlide.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698