Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 24a6a91

Browse files
authored
Remove usage of SkToBool (#38401)
1 parent 290f3ef commit 24a6a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flutter_vma/flutter_skia_vma.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ void FlutterSkiaVulkanMemoryAllocator::getAllocInfo(
212212
if (VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT & memFlags) {
213213
flags |= skgpu::VulkanAlloc::kMappable_Flag;
214214
}
215-
if (!SkToBool(VK_MEMORY_PROPERTY_HOST_COHERENT_BIT & memFlags)) {
215+
if (!(VK_MEMORY_PROPERTY_HOST_COHERENT_BIT & memFlags)) {
216216
flags |= skgpu::VulkanAlloc::kNoncoherent_Flag;
217217
}
218218
if (VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT & memFlags) {

0 commit comments

Comments
 (0)