Index: src/gpu/vk/GrVkMemory.cpp |
diff --git a/src/gpu/vk/GrVkMemory.cpp b/src/gpu/vk/GrVkMemory.cpp |
index 76b449c150a5921eabe2eccdbef14b95afa006a3..63cb52355dd0171e13b137d3442af54d55d8fe0a 100644 |
--- a/src/gpu/vk/GrVkMemory.cpp |
+++ b/src/gpu/vk/GrVkMemory.cpp |
@@ -320,7 +320,7 @@ bool GrVkFreeListAlloc::alloc(VkDeviceSize requestedSize, |
#endif |
} |
fFreeSize -= alignedSize; |
- SkASSERT(allocSize > 0); |
+ SkASSERT(*allocSize > 0); |
return true; |
} |