Index: tools/vulkan/viewer/VulkanViewer.cpp |
diff --git a/tools/vulkan/viewer/VulkanViewer.cpp b/tools/vulkan/viewer/VulkanViewer.cpp |
index a27f5b67ad26668a60d16ac94b989b05c3809bf4..79c49685eb9ac619a498aee0c396b740c7306af3 100644 |
--- a/tools/vulkan/viewer/VulkanViewer.cpp |
+++ b/tools/vulkan/viewer/VulkanViewer.cpp |
@@ -71,7 +71,7 @@ VulkanViewer::VulkanViewer(int argc, char** argv, void* platformData) |
SkCommandLineFlags::Parse(argc, argv); |
fWindow = Window::CreateNativeWindow(platformData); |
- fWindow->attach(Window::kVulkan_BackendType, 0, nullptr); |
+ fWindow->attach(Window::kVulkan_BackendType, 0); |
// register callbacks |
fWindow->registerKeyFunc(on_key_handler, this); |