| Index: tools/viewer/sk_app/unix/Window_unix.cpp
|
| diff --git a/tools/viewer/sk_app/unix/Window_unix.cpp b/tools/viewer/sk_app/unix/Window_unix.cpp
|
| index c4729263eca9a144cc1419e815d45ebb5c0b6f3b..431f1564911d5b752c91cc4ecbf6c1256b550c21 100644
|
| --- a/tools/viewer/sk_app/unix/Window_unix.cpp
|
| +++ b/tools/viewer/sk_app/unix/Window_unix.cpp
|
| @@ -10,9 +10,7 @@
|
| #include "SkUtils.h"
|
| #include "Timer.h"
|
| #include "../GLWindowContext.h"
|
| -#ifdef SK_VULKAN
|
| #include "../VulkanWindowContext.h"
|
| -#endif
|
| #include "Window_unix.h"
|
|
|
| extern "C" {
|
| @@ -278,11 +276,10 @@
|
| platformData.fWindow = fWindow;
|
| platformData.fVisualInfo = fVisualInfo;
|
| switch (attachType) {
|
| -#ifdef SK_VULKAN
|
| case kVulkan_BackendType:
|
| fWindowContext = VulkanWindowContext::Create((void*)&platformData, params);
|
| break;
|
| -#endif
|
| +
|
| case kNativeGL_BackendType:
|
| default:
|
| fWindowContext = GLWindowContext::Create((void*)&platformData, params);
|
|
|