aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2016-07-07 08:12:33 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-07 08:12:33 -0700
commit6e46eea63efdede18525ff7b7097e611d3986d0d (patch)
tree2f7435584dbbe53835cee9534c2c81835bd82fef
parente5fb9c8079c7838aafe38c9a47ef1e87d77dc56f (diff)
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
-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;
}