Index: src/gpu/vk/GrVkTexture.cpp |
diff --git a/src/gpu/vk/GrVkTexture.cpp b/src/gpu/vk/GrVkTexture.cpp |
index 62cb3dfc3a1413f7e8b8c3ec8d998610523ab0db..0adf87b41315cf415f8bdec6f0b45863c89e1215 100644 |
--- a/src/gpu/vk/GrVkTexture.cpp |
+++ b/src/gpu/vk/GrVkTexture.cpp |
@@ -83,7 +83,7 @@ GrVkTexture* GrVkTexture::CreateWrappedTexture(GrVkGpu* gpu, |
const GrVkImageInfo* info) { |
SkASSERT(info); |
// Wrapped textures require both image and allocation (because they can be mapped) |
- SkASSERT(VK_NULL_HANDLE != info->fImage && VK_NULL_HANDLE != info->fAlloc); |
+ SkASSERT(VK_NULL_HANDLE != info->fImage && VK_NULL_HANDLE != info->fAlloc.fMemory); |
const GrVkImageView* imageView = GrVkImageView::Create(gpu, info->fImage, info->fFormat, |
GrVkImageView::kColor_Type, |