| Index: tools/viewer/sk_app/win/Window_win.cpp
|
| diff --git a/tools/viewer/sk_app/win/Window_win.cpp b/tools/viewer/sk_app/win/Window_win.cpp
|
| index 1dd07a6c9c1292fbc8060450647db4dd91455444..16afcc7275e7d89f34515153dc6a33bf2ac8b0c5 100644
|
| --- a/tools/viewer/sk_app/win/Window_win.cpp
|
| +++ b/tools/viewer/sk_app/win/Window_win.cpp
|
| @@ -264,7 +264,7 @@ void Window_win::show() {
|
| }
|
|
|
|
|
| -bool Window_win::attach(BackEndType attachType, int msaaSampleCount) {
|
| +bool Window_win::attach(BackEndType attachType, const DisplayParams& params) {
|
| if (kVulkan_BackendType != attachType) {
|
| return false;
|
| }
|
| @@ -273,7 +273,7 @@ bool Window_win::attach(BackEndType attachType, int msaaSampleCount) {
|
| platformData.fHInstance = fHInstance;
|
| platformData.fHWnd = fHWnd;
|
|
|
| - fWindowContext = VulkanWindowContext::Create((void*)&platformData, msaaSampleCount);
|
| + fWindowContext = VulkanWindowContext::Create((void*)&platformData, params);
|
|
|
| return (SkToBool(fWindowContext));
|
| }
|
|
|