From 6e46eea63efdede18525ff7b7097e611d3986d0d Mon Sep 17 00:00:00 2001 From: egdaniel Date: Thu, 7 Jul 2016 08:12:33 -0700 Subject: Fix vulkan compile TBR=jvanverth@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2122263003 Review-Url: https://codereview.chromium.org/2122263003 --- src/gpu/vk/GrVkMemory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3