aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gpu/GrTest.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-06-14 06:03:10 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-14 10:23:07 +0000
commitd20b5c489b5709a4d251c0cc68d584ea4514594e (patch)
treec21e7fdc25a42129126b963804617bdba88933cb /tools/gpu/GrTest.cpp
parentfcd5fddb0264d062a461435618ad54a29ff80fc0 (diff)
use #ifdef instead of #if for SK_VULKAN
Try to fix android roll Bug: skia: Change-Id: Iae32027b299d8a975d3caf70f0f8910541ca972d Reviewed-on: https://skia-review.googlesource.com/19800 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'tools/gpu/GrTest.cpp')
-rw-r--r--tools/gpu/GrTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpu/GrTest.cpp b/tools/gpu/GrTest.cpp
index f486993bbc..0486787790 100644
--- a/tools/gpu/GrTest.cpp
+++ b/tools/gpu/GrTest.cpp
@@ -61,7 +61,7 @@ void SetupAlwaysEvictAtlas(GrContext* context) {
GrBackendTexture CreateBackendTexture(GrBackend backend, int width, int height,
GrPixelConfig config, GrBackendObject handle) {
-#if SK_VULKAN
+#ifdef SK_VULKAN
if (kVulkan_GrBackend == backend) {
GrVkImageInfo* vkInfo = (GrVkImageInfo*)(handle);
return GrBackendTexture(width, height, *vkInfo);