aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar liyuqian <liyuqian@google.com>2016-04-29 10:00:26 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-29 10:00:26 -0700
commitb138fdc65f91d20e423d447e458cee2cdbf3ca3a (patch)
tree81a4fa13a3f06311bc527b8ec070088780368221 /tools
parentfb5916486f562b45474fba86ed4bede15b83ef4a (diff)
Fix Vulkan Build in Android
Diffstat (limited to 'tools')
-rw-r--r--tools/vulkan/android/Window_android.cpp2
-rw-r--r--tools/vulkan/android/Window_android.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/vulkan/android/Window_android.cpp b/tools/vulkan/android/Window_android.cpp
index fb87a3f606..87a4d22a3f 100644
--- a/tools/vulkan/android/Window_android.cpp
+++ b/tools/vulkan/android/Window_android.cpp
@@ -35,7 +35,7 @@ void Window_android::setTitle(const char* title) {
SkDebugf("Title: %s", title);
}
-bool Window_android::attach(BackEndType attachType, int msaaSampleCount, AttachmentInfo*) {
+bool Window_android::attach(BackEndType attachType, int msaaSampleCount) {
if (kVulkan_BackendType != attachType) {
return false;
}
diff --git a/tools/vulkan/android/Window_android.h b/tools/vulkan/android/Window_android.h
index a4805bd74c..fa675feb32 100644
--- a/tools/vulkan/android/Window_android.h
+++ b/tools/vulkan/android/Window_android.h
@@ -29,7 +29,7 @@ public:
void setTitle(const char*) override;
void show() override {}
- bool attach(BackEndType attachType, int msaaSampleCount, AttachmentInfo*) override;
+ bool attach(BackEndType attachType, int msaaSampleCount) override;
void inval() override;
void paintIfNeeded();