Index: tools/viewer/Viewer.cpp |
diff --git a/tools/viewer/Viewer.cpp b/tools/viewer/Viewer.cpp |
index 7015dad458f1ebfcb3e6daa9d36e33e4ccff24e8..499673572b4d296541768aafcd1c08e84a3815e8 100644 |
--- a/tools/viewer/Viewer.cpp |
+++ b/tools/viewer/Viewer.cpp |
@@ -53,7 +53,11 @@ DEFINE_string2(match, m, nullptr, |
"If a bench does not match any list entry,\n" |
"it is skipped unless some list entry starts with ~"); |
DEFINE_string(skps, "skps", "Directory to read skps from."); |
+#ifdef SK_BUILD_FOR_ANDROID |
+DEFINE_bool(vulkan, false, "Run with Vulkan."); |
+#else |
DEFINE_bool(vulkan, true, "Run with Vulkan."); |
+#endif |
const char *kBackendTypeStrings[sk_app::Window::kBackendTypeCount] = { |
" [OpenGL]", |