Index: tools/viewer/sk_app/android/Window_android.cpp |
diff --git a/tools/viewer/sk_app/android/Window_android.cpp b/tools/viewer/sk_app/android/Window_android.cpp |
index 60d89eb3ece6013a4e9616653bae5a2b21550ccb..94ba9b00dfadee00a171a24b5b85fff35f28e298 100644 |
--- a/tools/viewer/sk_app/android/Window_android.cpp |
+++ b/tools/viewer/sk_app/android/Window_android.cpp |
@@ -7,9 +7,7 @@ |
#include "Window_android.h" |
#include "../GLWindowContext.h" |
-#ifdef SK_VULKAN |
#include "../VulkanWindowContext.h" |
-#endif |
#include "../RasterWindowContext.h" |
namespace sk_app { |
@@ -64,17 +62,15 @@ |
platformData.fNativeWindow = window; |
switch (fBackendType) { |
case kNativeGL_BackendType: |
- default: |
fWindowContext = GLWindowContext::Create((void*)&platformData, fDisplayParams); |
break; |
case kRaster_BackendType: |
fWindowContext = RasterWindowContext::Create((void*)&platformData, fDisplayParams); |
break; |
-#ifdef SK_VULKAN |
case kVulkan_BackendType: |
+ default: |
fWindowContext = VulkanWindowContext::Create((void*)&platformData, fDisplayParams); |
break; |
-#endif |
} |
} |