Index: tools/viewer/Viewer.cpp |
diff --git a/tools/viewer/Viewer.cpp b/tools/viewer/Viewer.cpp |
index 132dd486d1394979a9d84e2b3d4b7d1b4fb99e32..da329e0b3e2bb1d519fdd761a63d807543d0125f 100644 |
--- a/tools/viewer/Viewer.cpp |
+++ b/tools/viewer/Viewer.cpp |
@@ -180,7 +180,7 @@ Viewer::Viewer(int argc, char** argv, void* platformData) |
this->changeZoomLevel(-1.f / 32.f); |
fWindow->inval(); |
}); |
-#ifdef SK_BUILD_FOR_WIN |
+#if defined(SK_BUILD_FOR_WIN) || defined(SK_BUILD_FOR_MAC) |
fCommands.addCommand('d', "Modes", "Change rendering backend", [this]() { |
if (sk_app::Window::kRaster_BackendType == fBackendType) { |
fBackendType = sk_app::Window::kNativeGL_BackendType; |