aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/gpu/vk/GrVkMemory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/vk/GrVkMemory.cpp b/src/gpu/vk/GrVkMemory.cpp
index 76b449c150..63cb52355d 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;
}