Fix unused propFlags in GrVkMemory.
Bug: skia:
Change-Id: I6f4bf2ff97934c2131d1fb6409fe0541171ec3cc
Reviewed-on: https://skia-review.googlesource.com/135260
Commit-Queue: Greg Daniel <egdaniel@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Auto-Submit: Greg Daniel <egdaniel@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
diff --git a/src/gpu/vk/GrVkMemory.cpp b/src/gpu/vk/GrVkMemory.cpp
index 942fc3c..1154490 100644
--- a/src/gpu/vk/GrVkMemory.cpp
+++ b/src/gpu/vk/GrVkMemory.cpp
@@ -104,8 +104,7 @@
propFlags = AllocationPropertyFlags::kDedicatedAllocation;
}
- if (!allocator->allocateMemoryForImage(image, AllocationPropertyFlags::kDedicatedAllocation,
- &memory)) {
+ if (!allocator->allocateMemoryForImage(image, propFlags, &memory)) {
return false;
}
allocator->getAllocInfo(memory, alloc);